Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.944/1.944, allocations: 288.2 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.8 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 0.6305 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000913/0.0009131, allocations: 92.27 kB / 0.7439 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003993, allocations: 11.31 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2236, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04153/0.2652, allocations: 51.35 MB / 1.03 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01598/0.2812, allocations: 10.22 MB / 1.04 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.2836, allocations: 47.62 kB / 1.04 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.2865, allocations: 0.6258 MB / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007495/0.294, allocations: 1.903 MB / 1.042 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004764/0.2988, allocations: 1.332 MB / 1.043 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.3031, allocations: 1.861 MB / 1.045 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.3046, allocations: 0.8186 MB / 1.046 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.3072, allocations: 0.9886 MB / 1.047 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.3083, allocations: 0.6144 MB / 1.048 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.3084, allocations: 47.94 kB / 1.048 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.3109, allocations: 0.9946 MB / 1.049 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.3111, allocations: 203.1 kB / 1.049 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004097/0.3115, allocations: 285 kB / 1.049 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.3137, allocations: 1.598 MB / 1.051 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3137, allocations: 0 / 1.051 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3137, allocations: 0 / 1.051 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.889e-05/0.3137, allocations: 0 / 1.051 GB, free: 2.535 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002959/0.3167, allocations: 1.497 MB / 1.052 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3167, allocations: 12.03 kB / 1.052 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.3169, allocations: 130.7 kB / 1.052 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002467/0.3194, allocations: 0.5096 MB / 1.053 GB, free: 328 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.3215, allocations: 1.066 MB / 1.054 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.3219, allocations: 129.9 kB / 1.054 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.322, allocations: 80 kB / 1.054 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.3243, allocations: 1.025 MB / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.3243, allocations: 0 / 1.055 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.3244, allocations: 32 kB / 1.055 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.3244, allocations: 16 kB / 1.055 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.327, allocations: 0.9993 MB / 1.056 GB, free: 12.89 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006758/0.3338, allocations: 4.734 MB / 1.061 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/0.338, allocations: 1.133 MB / 1.062 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.3391, allocations: 1.029 MB / 1.063 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.3391, allocations: 35 kB / 1.063 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.657e-06/0.3391, allocations: 0 / 1.063 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.008024/0.3472, allocations: 2.139 MB / 1.065 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3472, allocations: 59.8 kB / 1.065 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.3485, allocations: 0.9513 MB / 1.066 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.3486, allocations: 37.7 kB / 1.066 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.349, allocations: 0.5003 MB / 1.066 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.3492, allocations: 193.2 kB / 1.067 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3493, allocations: 8 kB / 1.067 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3494, allocations: 326 kB / 1.067 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3504, allocations: 380.9 kB / 1.067 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.3516, allocations: 0.5303 MB / 1.068 GB, free: 128 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.524/0.8756, allocations: 392 kB / 1.068 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.8757, allocations: 1.344 kB / 1.068 GB, free: 90.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004773/0.8805, allocations: 1.277 MB / 1.069 GB, free: 90.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.8808, allocations: 0.968 MB / 1.07 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.8808, allocations: 2.906 kB / 1.07 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.8822, allocations: 331.6 kB / 1.071 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.8828, allocations: 141.7 kB / 1.071 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.8843, allocations: 0.9459 MB / 1.072 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.8856, allocations: 168.4 kB / 1.072 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.8857, allocations: 33.77 kB / 1.072 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.8857, allocations: 3.5 kB / 1.072 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003675/0.8894, allocations: 1.148 MB / 1.073 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8894, allocations: 9.734 kB / 1.073 GB, free: 88.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.8906, allocations: 322 kB / 1.073 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.8914, allocations: 143.1 kB / 1.073 GB, free: 88.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.8929, allocations: 0.9361 MB / 1.074 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.8943, allocations: 167 kB / 1.075 GB, free: 87.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.8944, allocations: 30.88 kB / 1.075 GB, free: 87.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006322/0.895, allocations: 358.6 kB / 1.075 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.8953, allocations: 108.9 kB / 1.075 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/0.8988, allocations: 1.224 MB / 1.076 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.8988, allocations: 6.375 kB / 1.076 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8988, allocations: 3.406 kB / 1.076 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.8988, allocations: 3 kB / 1.076 GB, free: 87.03 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/0.9042, allocations: 2.327 MB / 1.078 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.9043, allocations: 1.562 kB / 1.078 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.9049, allocations: 121.6 kB / 1.079 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.9062, allocations: 328.6 kB / 1.079 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/0.9062, allocations: 18.98 kB / 1.079 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.9079, allocations: 0.9643 MB / 1.08 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.9079, allocations: 6.266 kB / 1.08 GB, free: 85.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/0.9127, allocations: 1.469 MB / 1.081 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008049/0.9135, allocations: 296.2 kB / 1.082 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.9137, allocations: 13.08 kB / 1.082 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.9147, allocations: 133.7 kB / 1.082 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.9148, allocations: 43.84 kB / 1.082 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/0.9149, allocations: 24.86 kB / 1.082 GB, free: 84.28 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001218/0.9161, allocations: 0.6701 MB / 1.082 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.62e-07/0.9161, allocations: 0 / 1.082 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002033/0.9182, allocations: 0.5761 MB / 1.083 GB, free: 83.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004211/0.9224, allocations: 2.546 MB / 1.086 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004227/0.9266, allocations: 1.381 MB / 1.087 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9267, allocations: 0.9688 kB / 1.087 GB, free: 81.87 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.9281, allocations: 492.8 kB / 1.087 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/0.9311, allocations: 0.5005 MB / 1.088 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.9373, allocations: 4.656 MB / 1.092 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/0.9382, allocations: 1.098 MB / 1.093 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001475/0.9396, allocations: 239.2 kB / 1.094 GB, free: 77.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/0.9402, allocations: 422.8 kB / 1.094 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.282e-06/0.9403, allocations: 0 / 1.094 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06339/1.004, allocations: 33.11 MB / 1.126 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.004, allocations: 264.5 kB / 1.127 GB, free: 58.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.978, allocations: 4.984 kB / 1.127 GB, free: 58.55 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)