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.001545/0.001545, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001716/0.001716, allocations: 196 kB / 17.98 MB, free: 5.031 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7131/0.7131, allocations: 115.1 MB / 407 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 63.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3387, allocations: 76.14 MB / 0.5576 GB, free: 36.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.04986/0.3886, allocations: 61.13 MB / 0.6173 GB, free: 7.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01689/0.4055, allocations: 11.98 MB / 0.629 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002673/0.4083, allocations: 59.62 kB / 0.629 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.4105, allocations: 0.6869 MB / 0.6297 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.4164, allocations: 1.963 MB / 0.6316 GB, free: 8.742 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.4195, allocations: 1.205 MB / 0.6328 GB, free: 7.547 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004572/0.4241, allocations: 3.078 MB / 0.6358 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.4257, allocations: 1.105 MB / 0.6369 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.4289, allocations: 1.322 MB / 0.6382 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.4303, allocations: 0.9041 MB / 0.639 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.4306, allocations: 123.9 kB / 0.6392 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.4333, allocations: 1.439 MB / 0.6406 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.4336, allocations: 294.8 kB / 0.6408 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008255/0.4344, allocations: 0.6958 MB / 0.6415 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.4379, allocations: 2.298 MB / 0.6438 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4379, allocations: 0 / 0.6438 GB, free: 12.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.438, allocations: 0 / 0.6438 GB, free: 12.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.438, allocations: 0 / 0.6438 GB, free: 12.24 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.002987/0.441, allocations: 1.723 MB / 0.6454 GB, free: 10.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.441, allocations: 15.97 kB / 0.6455 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.4431, allocations: 414.8 kB / 0.6459 GB, free: 10.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002157/0.4452, allocations: 1.159 MB / 0.647 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.4453, allocations: 62 kB / 0.647 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4454, allocations: 80 kB / 0.6471 GB, free: 8.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.4472, allocations: 1.001 MB / 0.6481 GB, free: 7.621 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.4473, allocations: 0 / 0.6481 GB, free: 7.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.421e-05/0.4473, allocations: 32 kB / 0.6481 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.4474, allocations: 20 kB / 0.6482 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.4494, allocations: 0.8508 MB / 0.649 GB, free: 6.719 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.006058/0.4555, allocations: 5.228 MB / 0.6541 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.4587, allocations: 0.7894 MB / 0.6549 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/0.4594, allocations: 299.6 kB / 0.6551 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006271/0.46, allocations: 0.9064 MB / 0.656 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.4601, allocations: 34.56 kB / 0.6561 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 3.907e-06/0.4601, allocations: 0 / 0.6561 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006615/0.4667, allocations: 1.701 MB / 0.6577 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4668, allocations: 55.41 kB / 0.6578 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.4683, allocations: 1.072 MB / 0.6588 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.958e-05/0.4684, allocations: 37.7 kB / 0.6589 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/0.4689, allocations: 0.535 MB / 0.6594 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.469, allocations: 149.8 kB / 0.6595 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.4692, allocations: 134.2 kB / 0.6597 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4694, allocations: 329.9 kB / 0.66 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/0.4702, allocations: 311.3 kB / 0.6603 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009709/0.4712, allocations: 0.5212 MB / 0.6608 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.4727, allocations: 0.7133 MB / 0.6615 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.4727, allocations: 4 kB / 0.6615 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002556/0.4753, allocations: 1.012 MB / 0.6625 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4753, allocations: 4 kB / 0.6625 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4753, allocations: 8 kB / 0.6625 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.4765, allocations: 316.6 kB / 0.6628 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.4771, allocations: 131.7 kB / 0.6629 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.4784, allocations: 0.9014 MB / 0.6638 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.4796, allocations: 155.2 kB / 0.6639 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.4797, allocations: 35.98 kB / 0.664 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001095/0.4808, allocations: 0.5012 MB / 0.6645 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009709/0.4818, allocations: 0.529 MB / 0.665 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001483/0.4833, allocations: 0.6946 MB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.4833, allocations: 8 kB / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00252/0.4858, allocations: 1.008 MB / 0.6666 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4859, allocations: 8 kB / 0.6666 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4859, allocations: 4 kB / 0.6667 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.4869, allocations: 303.2 kB / 0.6669 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.4875, allocations: 127.8 kB / 0.6671 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.4888, allocations: 0.8918 MB / 0.6679 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.49, allocations: 135.6 kB / 0.6681 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.4901, allocations: 31.98 kB / 0.6681 GB, free: 2.051 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.000217/0.4903, allocations: 225 kB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4905, allocations: 110.6 kB / 0.6684 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.4927, allocations: 0.9195 MB / 0.6693 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4928, allocations: 8 kB / 0.6693 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4928, allocations: 0 / 0.6693 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4928, allocations: 3.984 kB / 0.6693 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004886/0.4977, allocations: 2.138 MB / 0.6714 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.4977, allocations: 4 kB / 0.6714 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.498, allocations: 59.89 kB / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009333/0.4989, allocations: 295 kB / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.499, allocations: 19.94 kB / 0.6718 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.5004, allocations: 0.9269 MB / 0.6727 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5004, allocations: 4 kB / 0.6727 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.5039, allocations: 1.144 MB / 0.6738 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.5044, allocations: 267.5 kB / 0.6741 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.5045, allocations: 8 kB / 0.6741 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.5054, allocations: 71.92 kB / 0.6741 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.5055, allocations: 39.83 kB / 0.6742 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/0.5055, allocations: 27.98 kB / 0.6742 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001182/0.5067, allocations: 0.7551 MB / 0.6749 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5067, allocations: 0 / 0.6749 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001456/0.5082, allocations: 0.5692 MB / 0.6755 GB, free: 10.27 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.0007826/0.509, allocations: 379.1 kB / 0.6759 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003032/0.512, allocations: 1.113 MB / 0.6769 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.512, allocations: 7.875 kB / 0.6769 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008541/0.5129, allocations: 347.4 kB / 0.6773 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.515, allocations: 0.5107 MB / 0.6778 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.5198, allocations: 2.014 MB / 0.6797 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.5204, allocations: 1.069 MB / 0.6808 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008135/0.5212, allocations: 217.7 kB / 0.681 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.5214, allocations: 75.42 kB / 0.6811 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.5214, allocations: 0 / 0.6811 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of Templates: time 0.039/0.5604, allocations: 24.84 MB / 0.7053 GB, free: 11.95 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)