Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 107.5 kB / 16.27 MB, free: 5.941 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.001314/0.001314, allocations: 189.2 kB / 17.19 MB, free: 5.582 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8271/0.8271, allocations: 135.2 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3515, allocations: 80.92 MB / 0.585 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06523/0.4167, allocations: 70.44 MB / 0.6538 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02647/0.4433, allocations: 18.91 MB / 0.6723 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.4456, allocations: 63.62 kB / 0.6724 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.4483, allocations: 0.8268 MB / 0.6732 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008072/0.4564, allocations: 2.857 MB / 0.676 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004453/0.4609, allocations: 1.637 MB / 0.6776 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006127/0.467, allocations: 4.023 MB / 0.6815 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.4697, allocations: 1.461 MB / 0.6829 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004682/0.4744, allocations: 1.775 MB / 0.6846 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.4773, allocations: 1.175 MB / 0.6858 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006733/0.478, allocations: 176 kB / 0.686 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.4819, allocations: 1.419 MB / 0.6873 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008118/0.4827, allocations: 386.6 kB / 0.6877 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.4847, allocations: 0.9176 MB / 0.6886 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.4902, allocations: 3.081 MB / 0.6916 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4902, allocations: 0 / 0.6916 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4902, allocations: 0 / 0.6916 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.66e-05/0.4903, allocations: 3.938 kB / 0.6916 GB, free: 13.14 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004126/0.4944, allocations: 2.03 MB / 0.6936 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4945, allocations: 9.109 kB / 0.6936 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.4969, allocations: 449.8 kB / 0.694 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.4997, allocations: 1.481 MB / 0.6955 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004086/0.5002, allocations: 145.9 kB / 0.6956 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.5004, allocations: 100 kB / 0.6957 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.5032, allocations: 1.325 MB / 0.697 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.5032, allocations: 3.938 kB / 0.697 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.5033, allocations: 44 kB / 0.6971 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.5033, allocations: 27.94 kB / 0.6971 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003012/0.5064, allocations: 1.108 MB / 0.6982 GB, free: 6.199 MB / 0.5294 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.01096/0.5173, allocations: 7.548 MB / 0.7055 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.5208, allocations: 0.8023 MB / 0.7063 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.5215, allocations: 286 kB / 0.7066 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/0.5235, allocations: 1.718 MB / 0.7083 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.5235, allocations: 39 kB / 0.7083 GB, free: 10.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.434e-06/0.5235, allocations: 0 / 0.7083 GB, free: 10.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.005398/0.5289, allocations: 1.342 MB / 0.7096 GB, free: 9.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.529, allocations: 59.78 kB / 0.7097 GB, free: 9.449 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.5319, allocations: 1.549 MB / 0.7112 GB, free: 7.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.532, allocations: 37.7 kB / 0.7112 GB, free: 7.848 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/0.5327, allocations: 0.6768 MB / 0.7119 GB, free: 7.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.5329, allocations: 165.6 kB / 0.7121 GB, free: 7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.5332, allocations: 182.4 kB / 0.7122 GB, free: 6.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.5334, allocations: 333.9 kB / 0.7125 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.5345, allocations: 369.8 kB / 0.7129 GB, free: 6.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.5359, allocations: 0.6662 MB / 0.7136 GB, free: 5.324 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.5379, allocations: 0.8868 MB / 0.7144 GB, free: 4.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.5379, allocations: 0 / 0.7144 GB, free: 4.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003438/0.5414, allocations: 1.201 MB / 0.7156 GB, free: 3.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.5414, allocations: 8 kB / 0.7156 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.5414, allocations: 8 kB / 0.7156 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000927/0.5424, allocations: 236.5 kB / 0.7158 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.5432, allocations: 187.7 kB / 0.716 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009789/0.5442, allocations: 0.7239 MB / 0.7167 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.5459, allocations: 222.7 kB / 0.7169 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.546, allocations: 39.98 kB / 0.717 GB, free: 1.672 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006336/0.5466, allocations: 359.8 kB / 0.7173 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.5469, allocations: 150.2 kB / 0.7175 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.5495, allocations: 1.137 MB / 0.7186 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.5496, allocations: 15.98 kB / 0.7186 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5496, allocations: 0 / 0.7186 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.5496, allocations: 3.984 kB / 0.7186 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005677/0.5553, allocations: 2.51 MB / 0.721 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5553, allocations: 4.188 kB / 0.721 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.5557, allocations: 87.83 kB / 0.7211 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008011/0.5565, allocations: 208.6 kB / 0.7213 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.414e-05/0.5566, allocations: 19.98 kB / 0.7213 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.558, allocations: 0.7746 MB / 0.7221 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.558, allocations: 0 / 0.7221 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.5617, allocations: 1.211 MB / 0.7233 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.5624, allocations: 346.9 kB / 0.7236 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.5627, allocations: 12 kB / 0.7236 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/0.5636, allocations: 75.91 kB / 0.7237 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.5637, allocations: 48.62 kB / 0.7237 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.5638, allocations: 23.98 kB / 0.7238 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001924/0.5657, allocations: 1.098 MB / 0.7248 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5658, allocations: 0 / 0.7248 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001396/0.5672, allocations: 451.2 kB / 0.7253 GB, free: 9.004 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009569/0.5681, allocations: 478.9 kB / 0.7257 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00257/0.5707, allocations: 0.8758 MB / 0.7266 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5707, allocations: 0 / 0.7266 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.5721, allocations: 447.6 kB / 0.727 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.5754, allocations: 0.7445 MB / 0.7277 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.5796, allocations: 2.314 MB / 0.73 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008971/0.5805, allocations: 1.161 MB / 0.7311 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.5809, allocations: 119.4 kB / 0.7312 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.5809, allocations: 0 / 0.7312 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of Templates: time 0.2793/0.8602, allocations: 34.09 MB / 0.7645 GB, free: 150.3 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)