Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001256/0.001256, allocations: 105.6 kB / 15.99 MB, free: 5.895 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.001512/0.001512, allocations: 194.6 kB / 16.91 MB, free: 5.746 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.453/1.453, allocations: 222.9 MB / 240.6 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7582/0.7582, allocations: 132.2 MB / 422.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001787, allocations: 59.91 kB / 0.5019 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4214, allocations: 80.19 MB / 0.5802 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.04775/0.4692, allocations: 60.65 MB / 0.6394 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01602/0.4853, allocations: 11.89 MB / 0.651 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002425/0.4878, allocations: 51.69 kB / 0.6511 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.4899, allocations: 0.5867 MB / 0.6517 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.4956, allocations: 1.819 MB / 0.6534 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.4987, allocations: 1.102 MB / 0.6545 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.503, allocations: 3.091 MB / 0.6575 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.5047, allocations: 1.108 MB / 0.6586 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.5079, allocations: 1.331 MB / 0.6599 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.5094, allocations: 0.9295 MB / 0.6608 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.5096, allocations: 116 kB / 0.6609 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002542/0.5121, allocations: 1.462 MB / 0.6624 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.5124, allocations: 286.9 kB / 0.6626 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007758/0.5132, allocations: 0.6997 MB / 0.6633 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.5157, allocations: 1.766 MB / 0.665 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5157, allocations: 0 / 0.665 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5157, allocations: 0 / 0.665 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.5157, allocations: 0 / 0.665 GB, free: 7.312 MB / 0.4981 GB 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.002857/0.5186, allocations: 1.726 MB / 0.6667 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5186, allocations: 12.03 kB / 0.6667 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.5207, allocations: 406.8 kB / 0.6671 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.5227, allocations: 1.12 MB / 0.6682 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.5231, allocations: 121.8 kB / 0.6683 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.5232, allocations: 87.94 kB / 0.6684 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.5251, allocations: 0.9739 MB / 0.6694 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5252, allocations: 3.938 kB / 0.6694 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.5252, allocations: 32 kB / 0.6694 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.5253, allocations: 20 kB / 0.6694 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.5273, allocations: 0.8547 MB / 0.6703 GB, free: 1.801 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.006019/0.5334, allocations: 4.839 MB / 0.675 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.5366, allocations: 0.7946 MB / 0.6758 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/0.5373, allocations: 307.4 kB / 0.6761 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/0.5379, allocations: 0.9063 MB / 0.6769 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.5379, allocations: 38.56 kB / 0.677 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.535e-06/0.5379, allocations: 3.938 kB / 0.677 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.006887/0.5448, allocations: 1.754 MB / 0.6787 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.5449, allocations: 59.41 kB / 0.6788 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.5464, allocations: 1.055 MB / 0.6798 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/0.5465, allocations: 37.7 kB / 0.6798 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.5469, allocations: 0.5235 MB / 0.6803 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5471, allocations: 153.7 kB / 0.6805 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.5473, allocations: 126.1 kB / 0.6806 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5474, allocations: 326 kB / 0.6809 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/0.5482, allocations: 306.9 kB / 0.6812 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/0.5492, allocations: 0.4973 MB / 0.6817 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.5507, allocations: 0.6811 MB / 0.6824 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5507, allocations: 0 / 0.6824 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003454/0.5542, allocations: 1.129 MB / 0.6835 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.5542, allocations: 8.438 kB / 0.6835 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5543, allocations: 8 kB / 0.6835 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.5555, allocations: 320.6 kB / 0.6838 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.556, allocations: 111.9 kB / 0.6839 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.5574, allocations: 0.9152 MB / 0.6848 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.5588, allocations: 167.2 kB / 0.6849 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/0.5589, allocations: 31.98 kB / 0.685 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001151/0.56, allocations: 0.5049 MB / 0.6855 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009766/0.561, allocations: 0.5018 MB / 0.686 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001493/0.5625, allocations: 0.668 MB / 0.6866 GB, free: 76 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.086e-06/0.5625, allocations: 0 / 0.6866 GB, free: 76 kB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003447/0.566, allocations: 1.121 MB / 0.6877 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.566, allocations: 4 kB / 0.6877 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.566, allocations: 4 kB / 0.6877 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.5671, allocations: 304.6 kB / 0.688 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005235/0.5676, allocations: 115.8 kB / 0.6881 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.569, allocations: 0.9145 MB / 0.689 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.5704, allocations: 151.5 kB / 0.6891 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.5704, allocations: 35.92 kB / 0.6892 GB, free: 13.4 MB / 0.5294 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.0002544/0.5707, allocations: 216.1 kB / 0.6894 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.571, allocations: 114.6 kB / 0.6895 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.5733, allocations: 0.9327 MB / 0.6904 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.5733, allocations: 11.92 kB / 0.6904 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5733, allocations: 0 / 0.6904 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.5733, allocations: 4 kB / 0.6904 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/0.5782, allocations: 2.155 MB / 0.6925 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.5783, allocations: 4.047 kB / 0.6925 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.5786, allocations: 71.88 kB / 0.6926 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009925/0.5796, allocations: 300.7 kB / 0.6929 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.5796, allocations: 12 kB / 0.6929 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.581, allocations: 0.9502 MB / 0.6938 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.5811, allocations: 4 kB / 0.6938 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/0.5846, allocations: 1.163 MB / 0.695 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.5851, allocations: 263.5 kB / 0.6952 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.5853, allocations: 8 kB / 0.6952 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008819/0.5862, allocations: 99.8 kB / 0.6953 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.5863, allocations: 39.83 kB / 0.6954 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.5863, allocations: 23.98 kB / 0.6954 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001107/0.5874, allocations: 0.7391 MB / 0.6961 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5874, allocations: 0 / 0.6961 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001509/0.589, allocations: 0.5574 MB / 0.6966 GB, free: 5.539 MB / 0.5294 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.0007903/0.5898, allocations: 382.5 kB / 0.697 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003126/0.5929, allocations: 1.114 MB / 0.6981 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5929, allocations: 0 / 0.6981 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/0.5938, allocations: 350.5 kB / 0.6984 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.5961, allocations: 0.5059 MB / 0.6989 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.6015, allocations: 2.467 MB / 0.7013 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.6022, allocations: 1.061 MB / 0.7024 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.6025, allocations: 83.41 kB / 0.7025 GB, free: 15.53 MB / 0.545 GB Notification: Performance of SimCode: time 7.91e-07/0.6025, allocations: 4 kB / 0.7025 GB, free: 15.53 MB / 0.545 GB Notification: Performance of Templates: time 0.03256/0.635, allocations: 23.73 MB / 0.7256 GB, free: 7.973 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)