Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001295/0.001295, allocations: 191.5 kB / 16.13 MB, free: 6.664 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.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.19 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.349, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06887/0.418, allocations: 60.85 MB / 1.127 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.4355, allocations: 12.07 MB / 1.139 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.4379, allocations: 55.69 kB / 1.139 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.4398, allocations: 0.5555 MB / 1.139 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005607/0.4454, allocations: 1.797 MB / 1.141 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.4486, allocations: 1.069 MB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005124/0.4537, allocations: 3.902 MB / 1.146 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.4558, allocations: 0.9315 MB / 1.147 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.4587, allocations: 1.155 MB / 1.148 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.4611, allocations: 0.8866 MB / 1.149 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.4616, allocations: 59.94 kB / 1.149 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004283/0.4659, allocations: 1.356 MB / 1.15 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005506/0.4664, allocations: 234.9 kB / 1.15 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.468, allocations: 0.6333 MB / 1.151 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005707/0.4737, allocations: 2.232 MB / 1.153 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.4738, allocations: 0 / 1.153 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4738, allocations: 4 kB / 1.153 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.4e-05/0.4739, allocations: 0 / 1.153 GB, free: 2.871 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004944/0.4788, allocations: 1.73 MB / 1.155 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/0.4789, allocations: 12.03 kB / 1.155 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.4813, allocations: 406.8 kB / 1.155 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002606/0.4839, allocations: 1.124 MB / 1.156 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003601/0.4843, allocations: 121.9 kB / 1.157 GB, free: 15.37 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.4844, allocations: 80 kB / 1.157 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.4865, allocations: 0.9739 MB / 1.158 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4865, allocations: 7.938 kB / 1.158 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.4866, allocations: 32 kB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.4866, allocations: 16 kB / 1.158 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.4889, allocations: 0.8548 MB / 1.158 GB, free: 13.36 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.007413/0.4963, allocations: 4.827 MB / 1.163 GB, free: 8.184 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.4999, allocations: 0.8042 MB / 1.164 GB, free: 7.367 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007333/0.5007, allocations: 300.6 kB / 1.164 GB, free: 7.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007141/0.5014, allocations: 0.9025 MB / 1.165 GB, free: 5.965 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.5014, allocations: 54.39 kB / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.945e-06/0.5015, allocations: 0 / 1.165 GB, free: 5.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.007626/0.5091, allocations: 1.747 MB / 1.167 GB, free: 4.125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.5092, allocations: 59.39 kB / 1.167 GB, free: 4.055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.5112, allocations: 1.051 MB / 1.168 GB, free: 2.988 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/0.5113, allocations: 33.7 kB / 1.168 GB, free: 2.949 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.5118, allocations: 0.5235 MB / 1.168 GB, free: 2.422 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.512, allocations: 153.8 kB / 1.169 GB, free: 2.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.5122, allocations: 130 kB / 1.169 GB, free: 2.137 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5124, allocations: 325.9 kB / 1.169 GB, free: 1.812 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009276/0.5133, allocations: 306.9 kB / 1.169 GB, free: 1.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.5144, allocations: 0.5062 MB / 1.17 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.5162, allocations: 0.6772 MB / 1.171 GB, free: 192 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.5162, allocations: 0 / 1.171 GB, free: 192 kB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003958/0.5201, allocations: 1.126 MB / 1.172 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.5202, allocations: 12.09 kB / 1.172 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.5202, allocations: 7.938 kB / 1.172 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/0.5216, allocations: 316.6 kB / 1.172 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.5223, allocations: 123.8 kB / 1.172 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.5239, allocations: 0.9113 MB / 1.173 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.5256, allocations: 179.2 kB / 1.173 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.5257, allocations: 27.94 kB / 1.173 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001373/0.5271, allocations: 0.5049 MB / 1.174 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001068/0.5281, allocations: 0.5018 MB / 1.174 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001619/0.5298, allocations: 0.6718 MB / 1.175 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.5298, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003875/0.5337, allocations: 1.114 MB / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5337, allocations: 8 kB / 1.176 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5337, allocations: 4 kB / 1.176 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.535, allocations: 306.7 kB / 1.176 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.5355, allocations: 119.8 kB / 1.176 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.5371, allocations: 0.9113 MB / 1.177 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.5388, allocations: 153.3 kB / 1.177 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/0.5389, allocations: 31.98 kB / 1.177 GB, free: 8.957 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0003042/0.5392, allocations: 225 kB / 1.178 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.5395, allocations: 110.6 kB / 1.178 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.5423, allocations: 0.9222 MB / 1.179 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/0.5423, allocations: 12 kB / 1.179 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.5423, allocations: 7.875 kB / 1.179 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.5423, allocations: 3.984 kB / 1.179 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006241/0.5486, allocations: 2.155 MB / 1.181 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.5486, allocations: 4 kB / 1.181 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.5489, allocations: 59.89 kB / 1.181 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.55, allocations: 305.7 kB / 1.181 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.5501, allocations: 15.98 kB / 1.181 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.5517, allocations: 0.9447 MB / 1.182 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/0.5517, allocations: 4 kB / 1.182 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.5556, allocations: 1.155 MB / 1.183 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000731/0.5563, allocations: 267.5 kB / 1.183 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/0.5566, allocations: 15.98 kB / 1.183 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.5578, allocations: 95.83 kB / 1.183 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5579, allocations: 39.83 kB / 1.184 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/0.558, allocations: 23.98 kB / 1.184 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001588/0.5596, allocations: 0.7391 MB / 1.184 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5596, allocations: 3.938 kB / 1.184 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002339/0.5619, allocations: 0.5575 MB / 1.185 GB, free: 1.098 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001122/0.5631, allocations: 374.2 kB / 1.185 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003556/0.5666, allocations: 1.098 MB / 1.186 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5667, allocations: 3.938 kB / 1.186 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/0.5676, allocations: 346.5 kB / 1.187 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.5705, allocations: 0.4991 MB / 1.187 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.5768, allocations: 2.436 MB / 1.189 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009317/0.5777, allocations: 1.061 MB / 1.19 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00116/0.5789, allocations: 216.7 kB / 1.191 GB, free: 11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.5791, allocations: 71.42 kB / 1.191 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of SimCode: time 8.51e-07/0.5791, allocations: 0 / 1.191 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of Templates: time 0.04437/0.6235, allocations: 23.7 MB / 1.214 GB, free: 3.504 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)