Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001204/0.001204, allocations: 108.6 kB / 16.52 MB, free: 6.656 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.001147/0.001147, allocations: 198 kB / 17.44 MB, free: 6.047 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7083/0.7083, allocations: 115.3 MB / 406.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 63.91 kB / 493.5 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3761, allocations: 76.17 MB / 0.5564 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05108/0.4273, allocations: 60.77 MB / 0.6157 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.4445, allocations: 12.05 MB / 0.6275 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/0.4473, allocations: 55.62 kB / 0.6275 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.4497, allocations: 0.5555 MB / 0.6281 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006035/0.4558, allocations: 1.8 MB / 0.6298 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.4591, allocations: 1.07 MB / 0.6309 GB, free: 8.246 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005185/0.4643, allocations: 3.91 MB / 0.6347 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.4662, allocations: 0.9255 MB / 0.6356 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.4693, allocations: 1.151 MB / 0.6367 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.4711, allocations: 0.8904 MB / 0.6376 GB, free: 1.324 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.4714, allocations: 59.94 kB / 0.6377 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.4749, allocations: 1.353 MB / 0.639 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.4753, allocations: 230.9 kB / 0.6392 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.4768, allocations: 0.6372 MB / 0.6398 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.4797, allocations: 1.727 MB / 0.6415 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4797, allocations: 3.984 kB / 0.6415 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.4797, allocations: 0 / 0.6415 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.815e-05/0.4798, allocations: 0 / 0.6415 GB, free: 13.31 MB / 494.1 MB 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.004321/0.4841, allocations: 1.723 MB / 0.6432 GB, free: 11.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4842, allocations: 11.97 kB / 0.6432 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.4866, allocations: 410.8 kB / 0.6436 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.4894, allocations: 1.128 MB / 0.6447 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.4898, allocations: 117.9 kB / 0.6448 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.49, allocations: 80 kB / 0.6449 GB, free: 9.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.4923, allocations: 0.9816 MB / 0.6458 GB, free: 8.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.4923, allocations: 3.938 kB / 0.6458 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.619e-05/0.4924, allocations: 32 kB / 0.6459 GB, free: 8.672 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.4925, allocations: 20 kB / 0.6459 GB, free: 8.652 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.4949, allocations: 0.8509 MB / 0.6467 GB, free: 7.801 MB / 494.1 MB 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.007263/0.5022, allocations: 4.848 MB / 0.6515 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003467/0.5057, allocations: 0.7968 MB / 0.6522 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/0.5065, allocations: 296.7 kB / 0.6525 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006775/0.5072, allocations: 0.8986 MB / 0.6534 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.5072, allocations: 42.5 kB / 0.6534 GB, free: 360 kB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.5072, allocations: 4 kB / 0.6534 GB, free: 356 kB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.007243/0.5145, allocations: 1.754 MB / 0.6552 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.5145, allocations: 63.34 kB / 0.6552 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.5165, allocations: 1.047 MB / 0.6562 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5166, allocations: 37.7 kB / 0.6563 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/0.5171, allocations: 0.5235 MB / 0.6568 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.5173, allocations: 153.8 kB / 0.6569 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.5176, allocations: 126.1 kB / 0.6571 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5177, allocations: 329.9 kB / 0.6574 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009001/0.5186, allocations: 302.9 kB / 0.6577 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.5197, allocations: 0.5023 MB / 0.6582 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.5213, allocations: 0.6811 MB / 0.6588 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.5214, allocations: 0 / 0.6588 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003765/0.5251, allocations: 1.137 MB / 0.6599 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5252, allocations: 6.188 kB / 0.6599 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.5252, allocations: 4.438 kB / 0.6599 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.5265, allocations: 324.6 kB / 0.6602 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.5271, allocations: 111.8 kB / 0.6604 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.5287, allocations: 0.9142 MB / 0.6612 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.5301, allocations: 175.3 kB / 0.6614 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.5303, allocations: 31.92 kB / 0.6614 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001281/0.5316, allocations: 0.5049 MB / 0.6619 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001052/0.5326, allocations: 0.4942 MB / 0.6624 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001603/0.5342, allocations: 0.668 MB / 0.6631 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.262e-06/0.5343, allocations: 4 kB / 0.6631 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003742/0.538, allocations: 1.105 MB / 0.6642 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.538, allocations: 8.438 kB / 0.6642 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5381, allocations: 8 kB / 0.6642 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.5392, allocations: 312.5 kB / 0.6645 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.5398, allocations: 115.8 kB / 0.6646 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.5413, allocations: 0.91 MB / 0.6655 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.5428, allocations: 159.5 kB / 0.6656 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.5429, allocations: 27.98 kB / 0.6656 GB, free: 3.406 MB / 0.4981 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.0002919/0.5432, allocations: 216.4 kB / 0.6659 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003789/0.5436, allocations: 114.6 kB / 0.666 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.5463, allocations: 0.9299 MB / 0.6669 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.5463, allocations: 11.88 kB / 0.6669 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.5463, allocations: 3.938 kB / 0.6669 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5463, allocations: 7.984 kB / 0.6669 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/0.552, allocations: 2.151 MB / 0.669 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.5521, allocations: 4.281 kB / 0.669 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.5524, allocations: 63.89 kB / 0.6691 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.5535, allocations: 312.5 kB / 0.6694 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.462e-05/0.5536, allocations: 15.98 kB / 0.6694 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.5552, allocations: 0.9482 MB / 0.6703 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5552, allocations: 8.062 kB / 0.6703 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.5591, allocations: 1.159 MB / 0.6714 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/0.5599, allocations: 259.5 kB / 0.6717 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.5602, allocations: 12 kB / 0.6717 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.5614, allocations: 99.8 kB / 0.6718 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5615, allocations: 39.83 kB / 0.6718 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.5616, allocations: 23.98 kB / 0.6719 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001568/0.5632, allocations: 0.7391 MB / 0.6726 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5632, allocations: 0 / 0.6726 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002404/0.5656, allocations: 0.5574 MB / 0.6731 GB, free: 11.54 MB / 0.5137 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.001054/0.5667, allocations: 374.6 kB / 0.6735 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003474/0.5702, allocations: 1.089 MB / 0.6745 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.5702, allocations: 0 / 0.6745 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.5712, allocations: 346.5 kB / 0.6749 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/0.5742, allocations: 0.4942 MB / 0.6754 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/0.5803, allocations: 2.478 MB / 0.6778 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008309/0.5811, allocations: 1.061 MB / 0.6788 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.5815, allocations: 83.36 kB / 0.6789 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.5815, allocations: 0 / 0.6789 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of Templates: time 0.03567/0.6172, allocations: 23.79 MB / 0.7021 GB, free: 13.94 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)