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.001113/0.001113, allocations: 103 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.001219/0.00122, allocations: 193.9 kB / 17.3 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.784/0.784, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3906, allocations: 80.92 MB / 0.5858 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06498/0.4556, allocations: 70.44 MB / 0.6545 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02594/0.4816, allocations: 18.9 MB / 0.673 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/0.4853, allocations: 71.56 kB / 0.6731 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.4883, allocations: 0.8268 MB / 0.6739 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009566/0.498, allocations: 2.853 MB / 0.6767 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004745/0.5027, allocations: 1.658 MB / 0.6783 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006589/0.5093, allocations: 4.035 MB / 0.6822 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/0.5117, allocations: 1.457 MB / 0.6836 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.5161, allocations: 1.777 MB / 0.6854 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.5184, allocations: 1.182 MB / 0.6865 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.5187, allocations: 176 kB / 0.6867 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.5218, allocations: 1.408 MB / 0.6881 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.5222, allocations: 386.6 kB / 0.6884 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.5232, allocations: 0.9216 MB / 0.6893 GB, free: 184 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.5271, allocations: 3.116 MB / 0.6924 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5271, allocations: 0 / 0.6924 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5271, allocations: 0 / 0.6924 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.056e-05/0.5271, allocations: 0 / 0.6924 GB, free: 13.05 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.003194/0.5303, allocations: 2.03 MB / 0.6944 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5304, allocations: 17.09 kB / 0.6944 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.5324, allocations: 441.9 kB / 0.6948 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.5352, allocations: 1.547 MB / 0.6963 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/0.5353, allocations: 86.03 kB / 0.6964 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.5355, allocations: 100 kB / 0.6965 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.5381, allocations: 1.322 MB / 0.6978 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5381, allocations: 0 / 0.6978 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5382, allocations: 44 kB / 0.6978 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.5383, allocations: 31.94 kB / 0.6979 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.5407, allocations: 1.101 MB / 0.6989 GB, free: 6.117 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.008765/0.5495, allocations: 7.489 MB / 0.7063 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.5525, allocations: 0.8063 MB / 0.707 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/0.5531, allocations: 285.9 kB / 0.7073 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/0.5546, allocations: 1.73 MB / 0.709 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.5546, allocations: 39 kB / 0.709 GB, free: 10.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.016e-06/0.5547, allocations: 0 / 0.709 GB, free: 10.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004635/0.5593, allocations: 1.33 MB / 0.7103 GB, free: 9.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.5594, allocations: 59.84 kB / 0.7104 GB, free: 9.422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.5618, allocations: 1.542 MB / 0.7119 GB, free: 7.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-05/0.5619, allocations: 45.64 kB / 0.7119 GB, free: 7.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005816/0.5625, allocations: 0.6768 MB / 0.7126 GB, free: 7.137 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.5627, allocations: 169.6 kB / 0.7128 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.563, allocations: 178.4 kB / 0.7129 GB, free: 6.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5631, allocations: 333.9 kB / 0.7133 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008969/0.564, allocations: 365.8 kB / 0.7136 GB, free: 6.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5654, allocations: 0.6585 MB / 0.7142 GB, free: 5.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.5672, allocations: 0.8829 MB / 0.7151 GB, free: 4.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.5673, allocations: 4 kB / 0.7151 GB, free: 4.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003426/0.5707, allocations: 1.186 MB / 0.7163 GB, free: 3.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.5707, allocations: 10.34 kB / 0.7163 GB, free: 3.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.5708, allocations: 8 kB / 0.7163 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009811/0.5718, allocations: 228.6 kB / 0.7165 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/0.5725, allocations: 195.7 kB / 0.7167 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008355/0.5734, allocations: 0.7162 MB / 0.7174 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.5751, allocations: 210.7 kB / 0.7176 GB, free: 1.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.5752, allocations: 43.98 kB / 0.7176 GB, free: 1.688 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.0008351/0.5761, allocations: 357.6 kB / 0.718 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.5764, allocations: 146.2 kB / 0.7181 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.5786, allocations: 1.146 MB / 0.7192 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.5787, allocations: 11.98 kB / 0.7192 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5787, allocations: 4 kB / 0.7192 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5787, allocations: 3.984 kB / 0.7193 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004952/0.5837, allocations: 2.51 MB / 0.7217 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.5837, allocations: 7.938 kB / 0.7217 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.584, allocations: 88.06 kB / 0.7218 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007139/0.5848, allocations: 208.6 kB / 0.722 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.5848, allocations: 19.92 kB / 0.722 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.586, allocations: 0.7747 MB / 0.7228 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.586, allocations: 3.938 kB / 0.7228 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.5891, allocations: 1.207 MB / 0.724 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006401/0.5898, allocations: 350.9 kB / 0.7243 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.5899, allocations: 12 kB / 0.7243 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.5908, allocations: 71.91 kB / 0.7244 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.5909, allocations: 40.5 kB / 0.7244 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.5909, allocations: 23.98 kB / 0.7244 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001647/0.5926, allocations: 1.086 MB / 0.7255 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5926, allocations: 0 / 0.7255 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001273/0.5939, allocations: 451.3 kB / 0.7259 GB, free: 9.031 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.0008823/0.5948, allocations: 483.7 kB / 0.7264 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.5968, allocations: 0.8404 MB / 0.7272 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.5968, allocations: 7.922 kB / 0.7272 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.598, allocations: 440.1 kB / 0.7276 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.6006, allocations: 0.739 MB / 0.7284 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.6041, allocations: 2.254 MB / 0.7306 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.6048, allocations: 1.168 MB / 0.7317 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008613/0.6057, allocations: 276.1 kB / 0.732 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.6059, allocations: 111.4 kB / 0.7321 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.606, allocations: 0 / 0.7321 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.3288/0.9348, allocations: 31.49 MB / 0.7628 GB, free: 149.6 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)