Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006299/0.006299, allocations: 172.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003795, allocations: 12.69 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.351, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.06235/0.4134, allocations: 59.78 MB / 1.132 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.431, allocations: 11.95 MB / 1.144 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.4329, allocations: 51.69 kB / 1.144 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.4346, allocations: 0.5477 MB / 1.145 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.4399, allocations: 1.8 MB / 1.147 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.443, allocations: 1.075 MB / 1.148 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004873/0.4479, allocations: 3.917 MB / 1.151 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.4494, allocations: 0.9151 MB / 1.152 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.452, allocations: 1.12 MB / 1.153 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.4533, allocations: 0.8671 MB / 1.154 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.4534, allocations: 44 kB / 1.154 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.4565, allocations: 1.341 MB / 1.156 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.4569, allocations: 214.8 kB / 1.156 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.4579, allocations: 0.6427 MB / 1.156 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004656/0.4626, allocations: 2.204 MB / 1.159 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4626, allocations: 4 kB / 1.159 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4626, allocations: 0 / 1.159 GB, free: 0.7891 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.508e-05/0.4627, allocations: 0 / 1.159 GB, free: 0.7891 MB / 0.9044 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.003058/0.4657, allocations: 1.497 MB / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.4658, allocations: 8.031 kB / 1.16 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.4684, allocations: 0.5222 MB / 1.161 GB, free: 14.7 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.4707, allocations: 1.144 MB / 1.162 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.4711, allocations: 121.9 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.4713, allocations: 84 kB / 1.162 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/0.4738, allocations: 1.033 MB / 1.163 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4738, allocations: 0 / 1.163 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.4739, allocations: 36 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.4739, allocations: 20 kB / 1.163 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/0.4769, allocations: 0.9993 MB / 1.164 GB, free: 11.18 MB / 0.92 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.007242/0.4841, allocations: 4.703 MB / 1.168 GB, free: 6.129 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004533/0.4887, allocations: 1.129 MB / 1.17 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.4898, allocations: 441.9 kB / 1.17 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.4911, allocations: 1.029 MB / 1.171 GB, free: 3.312 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.4912, allocations: 42.98 kB / 1.171 GB, free: 3.262 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.806e-06/0.4912, allocations: 7.938 kB / 1.171 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.008715/0.5, allocations: 2.147 MB / 1.173 GB, free: 1.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.5, allocations: 63.78 kB / 1.173 GB, free: 1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.5014, allocations: 0.9396 MB / 1.174 GB, free: 44 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.5016, allocations: 41.75 kB / 1.174 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.502, allocations: 0.5041 MB / 1.175 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.5023, allocations: 185.2 kB / 1.175 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.5024, allocations: 49.7 kB / 1.175 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5025, allocations: 330 kB / 1.175 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5036, allocations: 376.9 kB / 1.176 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.5049, allocations: 0.5459 MB / 1.176 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.5071, allocations: 0.8166 MB / 1.177 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5071, allocations: 0 / 1.177 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003187/0.5103, allocations: 1.135 MB / 1.178 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.5104, allocations: 170.2 kB / 1.178 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.5105, allocations: 8 kB / 1.178 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5118, allocations: 328.5 kB / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.5125, allocations: 147.8 kB / 1.179 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.5141, allocations: 0.9368 MB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.5153, allocations: 167.3 kB / 1.18 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/0.5154, allocations: 35.97 kB / 1.18 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.629e-06/0.5155, allocations: 4 kB / 1.18 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002826/0.5183, allocations: 0.9937 MB / 1.181 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5183, allocations: 7.938 kB / 1.181 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.5194, allocations: 320.8 kB / 1.181 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.5201, allocations: 143.8 kB / 1.181 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.5217, allocations: 0.9308 MB / 1.182 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.5231, allocations: 176 kB / 1.182 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.5232, allocations: 27.98 kB / 1.182 GB, free: 7.492 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0007458/0.5239, allocations: 353.5 kB / 1.183 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.5242, allocations: 106.7 kB / 1.183 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/0.5276, allocations: 1.233 MB / 1.184 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.5277, allocations: 11.92 kB / 1.184 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.5277, allocations: 0 / 1.184 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5277, allocations: 7.938 kB / 1.184 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005035/0.5327, allocations: 2.319 MB / 1.186 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.5328, allocations: 4 kB / 1.186 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.5334, allocations: 116 kB / 1.186 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.5345, allocations: 320.5 kB / 1.187 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.5346, allocations: 19.98 kB / 1.187 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.5363, allocations: 0.9714 MB / 1.188 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5364, allocations: 0 / 1.188 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/0.5405, allocations: 1.402 MB / 1.189 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/0.5412, allocations: 287.4 kB / 1.189 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.5413, allocations: 16 kB / 1.189 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/0.5423, allocations: 135.7 kB / 1.189 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5425, allocations: 36.42 kB / 1.189 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.5425, allocations: 23.94 kB / 1.189 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000989/0.5435, allocations: 0.6637 MB / 1.19 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5435, allocations: 7.938 kB / 1.19 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001605/0.5451, allocations: 0.5691 MB / 1.191 GB, free: 14.72 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008569/0.546, allocations: 385.6 kB / 1.191 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004102/0.5501, allocations: 1.393 MB / 1.192 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5501, allocations: 0 / 1.192 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.5515, allocations: 484.9 kB / 1.193 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/0.5544, allocations: 0.5063 MB / 1.193 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.5586, allocations: 2.378 MB / 1.196 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.5593, allocations: 1.07 MB / 1.197 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001011/0.5603, allocations: 230.5 kB / 1.197 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.5605, allocations: 83.41 kB / 1.197 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of SimCode: time 6.42e-07/0.5605, allocations: 0 / 1.197 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of Templates: time 0.04336/0.6039, allocations: 23.58 MB / 1.22 GB, free: 0.8203 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)