Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 107.3 kB / 15.99 MB, free: 6.352 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.001259/0.001259, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7517/0.7517, allocations: 122.9 MB / 413.6 MB, free: 72 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.91 kB / 0.4906 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3678, allocations: 77.92 MB / 0.5667 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05296/0.4208, allocations: 60.66 MB / 0.6259 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01871/0.4396, allocations: 11.9 MB / 0.6375 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002986/0.4426, allocations: 55.62 kB / 0.6376 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.4447, allocations: 0.5907 MB / 0.6382 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.4508, allocations: 1.824 MB / 0.6399 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.4543, allocations: 1.089 MB / 0.641 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005052/0.4594, allocations: 3.114 MB / 0.6441 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.4613, allocations: 1.082 MB / 0.6451 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003475/0.4648, allocations: 1.332 MB / 0.6464 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.4663, allocations: 0.9334 MB / 0.6473 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.4665, allocations: 116 kB / 0.6474 GB, free: 8.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.4695, allocations: 1.474 MB / 0.6489 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.4699, allocations: 298.8 kB / 0.6492 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007904/0.4707, allocations: 0.6958 MB / 0.6498 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.4741, allocations: 2.298 MB / 0.6521 GB, free: 3.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4741, allocations: 4 kB / 0.6521 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4741, allocations: 0 / 0.6521 GB, free: 3.312 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.4742, allocations: 0 / 0.6521 GB, free: 3.312 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.003159/0.4773, allocations: 1.726 MB / 0.6538 GB, free: 1.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4774, allocations: 8.625 kB / 0.6538 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.4791, allocations: 343 kB / 0.6541 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.4812, allocations: 1.121 MB / 0.6552 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.4816, allocations: 117.9 kB / 0.6553 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.4817, allocations: 83.98 kB / 0.6554 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.4836, allocations: 0.9543 MB / 0.6563 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4837, allocations: 4 kB / 0.6563 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/0.4837, allocations: 32 kB / 0.6564 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4838, allocations: 16 kB / 0.6564 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.4858, allocations: 0.8079 MB / 0.6572 GB, free: 13.95 MB / 0.4981 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.00676/0.4925, allocations: 4.75 MB / 0.6618 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.4942, allocations: 0.5706 MB / 0.6624 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/0.4948, allocations: 274.7 kB / 0.6626 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.4963, allocations: 1.369 MB / 0.664 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.4963, allocations: 38.5 kB / 0.664 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.4963, allocations: 0 / 0.664 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007011/0.5033, allocations: 1.68 MB / 0.6656 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.5034, allocations: 55.41 kB / 0.6657 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.5048, allocations: 1.048 MB / 0.6667 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.5049, allocations: 41.64 kB / 0.6668 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/0.5053, allocations: 0.5196 MB / 0.6673 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.5055, allocations: 157.8 kB / 0.6674 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.5057, allocations: 126 kB / 0.6675 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5058, allocations: 329.9 kB / 0.6678 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007641/0.5066, allocations: 278.9 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.5075, allocations: 477.3 kB / 0.6686 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.509, allocations: 0.6311 MB / 0.6692 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.509, allocations: 0 / 0.6692 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002413/0.5114, allocations: 0.9143 MB / 0.6701 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.5114, allocations: 11.98 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5114, allocations: 4.406 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.5127, allocations: 312.5 kB / 0.6704 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.5132, allocations: 103.9 kB / 0.6705 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.5147, allocations: 0.9214 MB / 0.6714 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.5159, allocations: 167.1 kB / 0.6715 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.516, allocations: 24 kB / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001063/0.517, allocations: 489 kB / 0.672 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009077/0.518, allocations: 473.2 kB / 0.6725 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001376/0.5194, allocations: 0.624 MB / 0.6731 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.5194, allocations: 4 kB / 0.6731 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002282/0.5217, allocations: 0.9141 MB / 0.674 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5217, allocations: 8 kB / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.5217, allocations: 4 kB / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5228, allocations: 309 kB / 0.6743 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.5233, allocations: 107.9 kB / 0.6744 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.5247, allocations: 0.9101 MB / 0.6753 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.5259, allocations: 159.5 kB / 0.6754 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.526, allocations: 24 kB / 0.6755 GB, free: 10.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0002102/0.5262, allocations: 216.8 kB / 0.6757 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.5264, allocations: 110.6 kB / 0.6758 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/0.5294, allocations: 1.025 MB / 0.6768 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.5294, allocations: 4 kB / 0.6768 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.5294, allocations: 4 kB / 0.6768 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.5294, allocations: 11.86 kB / 0.6768 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.5342, allocations: 2.095 MB / 0.6788 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.5342, allocations: 4 kB / 0.6788 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.5344, allocations: 55.91 kB / 0.6789 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009922/0.5354, allocations: 296.8 kB / 0.6792 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.5355, allocations: 19.98 kB / 0.6792 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.5369, allocations: 0.9339 MB / 0.6801 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5369, allocations: 7.938 kB / 0.6801 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.5403, allocations: 1.105 MB / 0.6812 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.5407, allocations: 267.4 kB / 0.6815 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.5409, allocations: 16 kB / 0.6815 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008441/0.5417, allocations: 83.84 kB / 0.6816 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.5418, allocations: 35.95 kB / 0.6816 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.5419, allocations: 23.98 kB / 0.6816 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001092/0.5429, allocations: 0.7352 MB / 0.6823 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.543, allocations: 0 / 0.6823 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001473/0.5444, allocations: 0.5691 MB / 0.6829 GB, free: 2.309 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.0007596/0.5452, allocations: 414.9 kB / 0.6833 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.548, allocations: 1.023 MB / 0.6843 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.548, allocations: 0 / 0.6843 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.5488, allocations: 322.4 kB / 0.6846 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.5509, allocations: 0.502 MB / 0.6851 GB, free: 96 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.5543, allocations: 2.222 MB / 0.6872 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.555, allocations: 1.057 MB / 0.6883 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008533/0.5558, allocations: 226.2 kB / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.556, allocations: 75.42 kB / 0.6886 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.556, allocations: 0 / 0.6886 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.03958/0.5956, allocations: 24.67 MB / 0.7127 GB, free: 4.066 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)