Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001281/0.001281, allocations: 177.2 kB / 16.27 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.529/1.529, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004809, allocations: 16.86 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3758, allocations: 162.1 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06509/0.441, allocations: 68.88 MB / 1.141 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.4657, allocations: 18.79 MB / 1.16 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.4688, allocations: 63.56 kB / 1.16 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002776/0.4716, allocations: 0.6527 MB / 1.16 GB, free: 14.88 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008859/0.4805, allocations: 2.606 MB / 1.163 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00465/0.4852, allocations: 1.491 MB / 1.164 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007058/0.4923, allocations: 5.013 MB / 1.169 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00236/0.4946, allocations: 1.156 MB / 1.17 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.4991, allocations: 1.443 MB / 1.172 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.5016, allocations: 1.108 MB / 1.173 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.5018, allocations: 60 kB / 1.173 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.5053, allocations: 1.216 MB / 1.174 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003135/0.5057, allocations: 266.6 kB / 1.174 GB, free: 468 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.5069, allocations: 0.8061 MB / 1.175 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004674/0.5115, allocations: 2.944 MB / 1.178 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5116, allocations: 0 / 1.178 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.807e-06/0.5116, allocations: 4 kB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.886e-05/0.5116, allocations: 3.938 kB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003587/0.5152, allocations: 1.707 MB / 1.18 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.5153, allocations: 8.031 kB / 1.18 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.5176, allocations: 0.4984 MB / 1.18 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.5203, allocations: 1.512 MB / 1.182 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/0.5207, allocations: 146 kB / 1.182 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.5209, allocations: 108 kB / 1.182 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.5237, allocations: 1.317 MB / 1.183 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.5237, allocations: 7.938 kB / 1.183 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.5238, allocations: 40 kB / 1.183 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.5238, allocations: 31.94 kB / 1.183 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002904/0.5267, allocations: 1.159 MB / 1.184 GB, free: 5.938 MB / 0.9356 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.01004/0.5368, allocations: 7.195 MB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/0.5401, allocations: 0.8839 MB / 1.192 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006431/0.5408, allocations: 305.9 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/0.5422, allocations: 1.718 MB / 1.194 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.5422, allocations: 46.94 kB / 1.194 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.5422, allocations: 0 / 1.194 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005133/0.5474, allocations: 1.444 MB / 1.196 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.5474, allocations: 59.84 kB / 1.196 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002554/0.55, allocations: 1.54 MB / 1.197 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.5501, allocations: 37.7 kB / 1.197 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006463/0.5507, allocations: 0.6653 MB / 1.198 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.551, allocations: 169.6 kB / 1.198 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.5511, allocations: 57.69 kB / 1.198 GB, free: 6.848 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.5513, allocations: 338 kB / 1.199 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.5525, allocations: 385.8 kB / 1.199 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.5539, allocations: 0.6684 MB / 1.2 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.5558, allocations: 0.8989 MB / 1.2 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.5559, allocations: 4 kB / 1.2 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004781/0.5607, allocations: 1.431 MB / 1.202 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.5607, allocations: 12 kB / 1.202 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.5607, allocations: 8 kB / 1.202 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5619, allocations: 232.5 kB / 1.202 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/0.5626, allocations: 203.7 kB / 1.202 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.5637, allocations: 0.724 MB / 1.203 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5656, allocations: 262.7 kB / 1.203 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.5657, allocations: 43.97 kB / 1.203 GB, free: 1.414 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008419/0.5666, allocations: 358.2 kB / 1.204 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.5668, allocations: 146.2 kB / 1.204 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.5693, allocations: 1.184 MB / 1.205 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.5694, allocations: 4 kB / 1.205 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5694, allocations: 7.938 kB / 1.205 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5694, allocations: 3.984 kB / 1.205 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/0.5748, allocations: 2.588 MB / 1.208 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5748, allocations: 0 / 1.208 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.5752, allocations: 96.06 kB / 1.208 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008031/0.576, allocations: 216.6 kB / 1.208 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.576, allocations: 23.98 kB / 1.208 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.5774, allocations: 0.7982 MB / 1.209 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5774, allocations: 3.938 kB / 1.209 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.5808, allocations: 1.293 MB / 1.21 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00071/0.5816, allocations: 371 kB / 1.21 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.5817, allocations: 12 kB / 1.21 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009765/0.5827, allocations: 111.7 kB / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.5828, allocations: 44.45 kB / 1.21 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.5829, allocations: 27.98 kB / 1.21 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001847/0.5847, allocations: 1.09 MB / 1.211 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.5847, allocations: 0 / 1.211 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001383/0.5861, allocations: 435.4 kB / 1.212 GB, free: 8.441 MB / 0.9669 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.5872, allocations: 474.9 kB / 1.212 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.5895, allocations: 0.8759 MB / 1.213 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.5896, allocations: 0 / 1.213 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.5909, allocations: 475.5 kB / 1.214 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/0.5944, allocations: 0.7094 MB / 1.214 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/0.599, allocations: 2.777 MB / 1.217 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/0.5999, allocations: 1.172 MB / 1.218 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001145/0.601, allocations: 259.9 kB / 1.218 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.6013, allocations: 119.4 kB / 1.219 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of SimCode: time 9.41e-07/0.6013, allocations: 0 / 1.219 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of Templates: time 0.05667/0.658, allocations: 30.46 MB / 1.248 GB, free: 3.402 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)