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.001243/0.001244, allocations: 107.2 kB / 16.35 MB, free: 5.824 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.001493/0.001493, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7561/0.7561, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 0.5067 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3164, allocations: 80.9 MB / 0.5858 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05577/0.3722, allocations: 70.45 MB / 0.6545 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02198/0.3942, allocations: 18.91 MB / 0.673 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.3963, allocations: 67.62 kB / 0.6731 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.3981, allocations: 0.819 MB / 0.6739 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.4047, allocations: 2.853 MB / 0.6767 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.4082, allocations: 1.658 MB / 0.6783 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004479/0.4127, allocations: 4.035 MB / 0.6822 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.4144, allocations: 1.461 MB / 0.6837 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.4176, allocations: 1.773 MB / 0.6854 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.419, allocations: 1.179 MB / 0.6865 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.4192, allocations: 176 kB / 0.6867 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.4216, allocations: 1.408 MB / 0.6881 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.422, allocations: 394.6 kB / 0.6885 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007928/0.4228, allocations: 0.9137 MB / 0.6893 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.4259, allocations: 3.112 MB / 0.6924 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4259, allocations: 4 kB / 0.6924 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.426, allocations: 0 / 0.6924 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.426, allocations: 0 / 0.6924 GB, free: 13.08 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.003035/0.429, allocations: 2.034 MB / 0.6944 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.4291, allocations: 9.109 kB / 0.6944 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.4311, allocations: 449.8 kB / 0.6948 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.4336, allocations: 1.547 MB / 0.6963 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.4337, allocations: 82.03 kB / 0.6964 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.4338, allocations: 104 kB / 0.6965 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.4361, allocations: 1.318 MB / 0.6978 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.4362, allocations: 7.875 kB / 0.6978 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.4363, allocations: 44 kB / 0.6978 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.4363, allocations: 27.94 kB / 0.6979 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.4387, allocations: 1.105 MB / 0.6989 GB, free: 6.137 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.007717/0.4464, allocations: 7.489 MB / 0.7063 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/0.4493, allocations: 0.8024 MB / 0.707 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.4499, allocations: 282 kB / 0.7073 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.4511, allocations: 1.734 MB / 0.709 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4511, allocations: 39 kB / 0.709 GB, free: 10.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.354e-06/0.4511, allocations: 0 / 0.709 GB, free: 10.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004525/0.4557, allocations: 1.334 MB / 0.7103 GB, free: 9.512 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4557, allocations: 55.84 kB / 0.7104 GB, free: 9.445 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.4582, allocations: 1.542 MB / 0.7119 GB, free: 7.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.4583, allocations: 37.7 kB / 0.7119 GB, free: 7.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.4588, allocations: 0.6807 MB / 0.7126 GB, free: 7.164 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.459, allocations: 173.6 kB / 0.7128 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.4593, allocations: 170.5 kB / 0.7129 GB, free: 6.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4594, allocations: 337.9 kB / 0.7133 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/0.4603, allocations: 365.8 kB / 0.7136 GB, free: 6.125 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.4614, allocations: 0.6662 MB / 0.7143 GB, free: 5.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.4631, allocations: 0.8751 MB / 0.7151 GB, free: 4.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.4631, allocations: 8 kB / 0.7151 GB, free: 4.332 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002735/0.4658, allocations: 1.189 MB / 0.7163 GB, free: 3.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.4659, allocations: 8 kB / 0.7163 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4659, allocations: 8 kB / 0.7163 GB, free: 3.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008261/0.4667, allocations: 228.6 kB / 0.7165 GB, free: 2.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007233/0.4674, allocations: 183.7 kB / 0.7167 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007782/0.4682, allocations: 0.7278 MB / 0.7174 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.4696, allocations: 214.7 kB / 0.7176 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.4697, allocations: 43.98 kB / 0.7176 GB, free: 1.703 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.0005123/0.4702, allocations: 353.6 kB / 0.718 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.4704, allocations: 150.2 kB / 0.7181 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.4726, allocations: 1.138 MB / 0.7192 GB, free: 72 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.4726, allocations: 11.98 kB / 0.7192 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4727, allocations: 0 / 0.7192 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4727, allocations: 7.984 kB / 0.7193 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.4774, allocations: 2.51 MB / 0.7217 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4774, allocations: 0 / 0.7217 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000346/0.4778, allocations: 88.08 kB / 0.7218 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/0.4785, allocations: 208.6 kB / 0.722 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.4785, allocations: 19.98 kB / 0.722 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.4797, allocations: 0.7785 MB / 0.7228 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4797, allocations: 0 / 0.7228 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.4827, allocations: 1.211 MB / 0.7239 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.4832, allocations: 346.9 kB / 0.7243 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.4833, allocations: 20 kB / 0.7243 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008345/0.4842, allocations: 71.91 kB / 0.7244 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.4843, allocations: 44.44 kB / 0.7244 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.4843, allocations: 23.98 kB / 0.7244 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001509/0.4858, allocations: 1.082 MB / 0.7255 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4859, allocations: 0 / 0.7255 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00108/0.4869, allocations: 451.3 kB / 0.7259 GB, free: 9.055 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.0007754/0.4877, allocations: 484.8 kB / 0.7264 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.4896, allocations: 0.8485 MB / 0.7272 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4896, allocations: 4 kB / 0.7272 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.4908, allocations: 435.7 kB / 0.7276 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.4933, allocations: 0.7392 MB / 0.7284 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.4964, allocations: 2.258 MB / 0.7306 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/0.4971, allocations: 1.168 MB / 0.7317 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007367/0.4978, allocations: 272.2 kB / 0.732 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.4981, allocations: 115.3 kB / 0.7321 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.4981, allocations: 0 / 0.7321 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of Templates: time 0.2652/0.7633, allocations: 31.5 MB / 0.7628 GB, free: 149.4 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)