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.001503/0.001503, allocations: 101 kB / 17.03 MB, free: 6.035 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.001812/0.001812, allocations: 196.1 kB / 17.98 MB, free: 5.113 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7173/0.7173, allocations: 115.1 MB / 407 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.84 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3536, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.04967/0.4033, allocations: 61.14 MB / 0.6173 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.4206, allocations: 11.98 MB / 0.629 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.4231, allocations: 59.62 kB / 0.629 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.4249, allocations: 0.6831 MB / 0.6297 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004998/0.4299, allocations: 1.961 MB / 0.6316 GB, free: 8.555 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.4327, allocations: 1.204 MB / 0.6328 GB, free: 7.359 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004029/0.4367, allocations: 3.089 MB / 0.6358 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.4382, allocations: 1.094 MB / 0.6369 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.441, allocations: 1.326 MB / 0.6382 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.4421, allocations: 0.8945 MB / 0.639 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.4422, allocations: 116 kB / 0.6391 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.4449, allocations: 1.447 MB / 0.6406 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.4452, allocations: 290.8 kB / 0.6408 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.4458, allocations: 0.6919 MB / 0.6415 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002653/0.4485, allocations: 2.31 MB / 0.6438 GB, free: 12.06 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4485, allocations: 4 kB / 0.6438 GB, free: 12.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4485, allocations: 0 / 0.6438 GB, free: 12.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.4485, allocations: 0 / 0.6438 GB, free: 12.05 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.002622/0.4511, allocations: 1.722 MB / 0.6455 GB, free: 10.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4512, allocations: 12.03 kB / 0.6455 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.4531, allocations: 406.8 kB / 0.6459 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.4551, allocations: 1.163 MB / 0.647 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.4552, allocations: 61.94 kB / 0.647 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.4553, allocations: 87.98 kB / 0.6471 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.457, allocations: 0.9937 MB / 0.6481 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4571, allocations: 7.938 kB / 0.6481 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.4571, allocations: 32 kB / 0.6481 GB, free: 7.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.4572, allocations: 19.94 kB / 0.6482 GB, free: 7.383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.4591, allocations: 0.8469 MB / 0.649 GB, free: 6.535 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.006161/0.4653, allocations: 5.228 MB / 0.6541 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.4683, allocations: 0.7925 MB / 0.6549 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.469, allocations: 296.7 kB / 0.6551 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.4696, allocations: 0.9063 MB / 0.656 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.4696, allocations: 38.56 kB / 0.6561 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.4696, allocations: 0 / 0.6561 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.005871/0.4755, allocations: 1.685 MB / 0.6577 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.4755, allocations: 55.41 kB / 0.6578 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.4769, allocations: 1.08 MB / 0.6588 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.4769, allocations: 41.7 kB / 0.6589 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.4773, allocations: 0.5311 MB / 0.6594 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4774, allocations: 149.8 kB / 0.6595 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.4776, allocations: 138.2 kB / 0.6597 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4778, allocations: 333.9 kB / 0.66 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007651/0.4785, allocations: 303.3 kB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009346/0.4795, allocations: 0.5311 MB / 0.6608 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.4809, allocations: 0.7172 MB / 0.6615 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.4809, allocations: 4 kB / 0.6615 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002329/0.4833, allocations: 1.012 MB / 0.6625 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4833, allocations: 10.03 kB / 0.6625 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4833, allocations: 4 kB / 0.6625 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.4844, allocations: 300.6 kB / 0.6628 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.4849, allocations: 135.7 kB / 0.6629 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.4862, allocations: 0.8996 MB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.4872, allocations: 147.2 kB / 0.6639 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.4873, allocations: 31.98 kB / 0.664 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001006/0.4883, allocations: 0.509 MB / 0.6645 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008942/0.4892, allocations: 0.5212 MB / 0.665 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001385/0.4906, allocations: 0.7064 MB / 0.6656 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.4906, allocations: 7.984 kB / 0.6657 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002221/0.4928, allocations: 0.9964 MB / 0.6666 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.4928, allocations: 11.94 kB / 0.6666 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4928, allocations: 4 kB / 0.6666 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009148/0.4938, allocations: 303.1 kB / 0.6669 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.4943, allocations: 127.9 kB / 0.6671 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.4954, allocations: 0.8957 MB / 0.6679 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.4965, allocations: 147.5 kB / 0.6681 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.4965, allocations: 31.98 kB / 0.6681 GB, free: 1.859 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0001916/0.4967, allocations: 216.1 kB / 0.6683 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.4969, allocations: 114.5 kB / 0.6684 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.4989, allocations: 0.9145 MB / 0.6693 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4989, allocations: 7.984 kB / 0.6693 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4989, allocations: 0 / 0.6693 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.4989, allocations: 4 kB / 0.6693 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004304/0.5032, allocations: 2.134 MB / 0.6714 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5033, allocations: 4 kB / 0.6714 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.5035, allocations: 68.17 kB / 0.6715 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008406/0.5044, allocations: 288.5 kB / 0.6718 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.5044, allocations: 19.92 kB / 0.6718 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.5057, allocations: 0.9276 MB / 0.6727 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5057, allocations: 4.031 kB / 0.6727 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002997/0.5087, allocations: 1.144 MB / 0.6738 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.5091, allocations: 267.4 kB / 0.6741 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.5092, allocations: 12 kB / 0.6741 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/0.51, allocations: 75.91 kB / 0.6741 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.51, allocations: 43.77 kB / 0.6742 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.5101, allocations: 23.98 kB / 0.6742 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001034/0.5111, allocations: 0.7551 MB / 0.6749 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5112, allocations: 0 / 0.6749 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001352/0.5125, allocations: 0.5653 MB / 0.6755 GB, free: 10.09 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.0006534/0.5132, allocations: 381.5 kB / 0.6759 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002675/0.5159, allocations: 1.118 MB / 0.6769 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5159, allocations: 0 / 0.6769 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.5166, allocations: 346.9 kB / 0.6773 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.5184, allocations: 0.5125 MB / 0.6778 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.5227, allocations: 2.005 MB / 0.6797 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.5233, allocations: 1.073 MB / 0.6808 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006648/0.524, allocations: 225.5 kB / 0.681 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.5241, allocations: 79.42 kB / 0.6811 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.5242, allocations: 0 / 0.6811 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of Templates: time 0.03458/0.5587, allocations: 24.84 MB / 0.7053 GB, free: 11.76 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)