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.007206/0.007206, allocations: 101 kB / 15.87 MB, free: 5.871 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.001531/0.001531, allocations: 189.6 kB / 16.79 MB, free: 5.816 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9508/0.9508, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 60.62 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1756, allocations: 80.92 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4068/0.5825, allocations: 70.04 MB / 0.6527 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.6057, allocations: 18.98 MB / 0.6713 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003017/0.6088, allocations: 66.59 kB / 0.6713 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.6114, allocations: 0.6548 MB / 0.672 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008799/0.6202, allocations: 2.606 MB / 0.6745 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005051/0.6253, allocations: 1.492 MB / 0.676 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008306/0.6336, allocations: 5.007 MB / 0.6809 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.6361, allocations: 1.185 MB / 0.682 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.6405, allocations: 1.499 MB / 0.6835 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.6435, allocations: 1.162 MB / 0.6846 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.6438, allocations: 75.81 kB / 0.6847 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003628/0.6474, allocations: 1.239 MB / 0.6859 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004834/0.6479, allocations: 291.4 kB / 0.6862 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.6494, allocations: 0.8169 MB / 0.687 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.6536, allocations: 2.44 MB / 0.6894 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.6536, allocations: 0 / 0.6894 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6536, allocations: 1.219 kB / 0.6894 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.456e-05/0.6537, allocations: 0 / 0.6894 GB, free: 4.789 MB / 0.5137 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.004995/0.6587, allocations: 2.028 MB / 0.6913 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6587, allocations: 13 kB / 0.6914 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.6612, allocations: 450.3 kB / 0.6918 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/0.6643, allocations: 1.506 MB / 0.6933 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.6647, allocations: 136.5 kB / 0.6934 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.6649, allocations: 106.8 kB / 0.6935 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.6677, allocations: 1.291 MB / 0.6947 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.6678, allocations: 1.406 kB / 0.6947 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.6679, allocations: 42.8 kB / 0.6948 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/0.6679, allocations: 31.25 kB / 0.6948 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002817/0.6708, allocations: 1.111 MB / 0.6959 GB, free: 1.172 MB / 0.5137 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.01129/0.6821, allocations: 7.139 MB / 0.7029 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.6852, allocations: 0.7977 MB / 0.7037 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.6859, allocations: 284.9 kB / 0.7039 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.6873, allocations: 1.72 MB / 0.7056 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.6874, allocations: 41.84 kB / 0.7056 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.825e-06/0.6874, allocations: 4 kB / 0.7056 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004925/0.6923, allocations: 1.333 MB / 0.7069 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.6924, allocations: 61.02 kB / 0.707 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.6952, allocations: 1.516 MB / 0.7085 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.6953, allocations: 38.2 kB / 0.7085 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006156/0.6959, allocations: 0.6716 MB / 0.7092 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.6961, allocations: 171 kB / 0.7093 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.6964, allocations: 166.4 kB / 0.7095 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6966, allocations: 336.3 kB / 0.7098 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.6976, allocations: 361.8 kB / 0.7102 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.6989, allocations: 0.6368 MB / 0.7108 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/0.7006, allocations: 0.8455 MB / 0.7116 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.7007, allocations: 2.906 kB / 0.7116 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004615/0.7053, allocations: 1.333 MB / 0.7129 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.7053, allocations: 10.38 kB / 0.7129 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.7054, allocations: 7.219 kB / 0.7129 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009572/0.7063, allocations: 221.4 kB / 0.7131 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/0.7071, allocations: 187 kB / 0.7133 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009101/0.7081, allocations: 0.7113 MB / 0.714 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.7101, allocations: 235.2 kB / 0.7142 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.7103, allocations: 42.58 kB / 0.7143 GB, free: 3.648 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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.0008003/0.7111, allocations: 365.1 kB / 0.7146 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/0.7116, allocations: 148.9 kB / 0.7148 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.7144, allocations: 1.135 MB / 0.7159 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/0.7144, allocations: 6.062 kB / 0.7159 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.7145, allocations: 7.938 kB / 0.7159 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.7145, allocations: 9.312 kB / 0.7159 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/0.7207, allocations: 2.504 MB / 0.7184 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.7208, allocations: 5.703 kB / 0.7184 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.7212, allocations: 90.02 kB / 0.7184 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000807/0.722, allocations: 208.2 kB / 0.7186 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.7221, allocations: 17.61 kB / 0.7187 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.7234, allocations: 0.775 MB / 0.7194 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7234, allocations: 0 / 0.7194 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.7269, allocations: 1.204 MB / 0.7206 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009475/0.7279, allocations: 347.1 kB / 0.7209 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005094/0.7284, allocations: 20.95 kB / 0.7209 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.7297, allocations: 92.84 kB / 0.721 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7298, allocations: 44.34 kB / 0.7211 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/0.7299, allocations: 24.92 kB / 0.7211 GB, free: 14.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002236/0.7321, allocations: 1.071 MB / 0.7221 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7322, allocations: 0 / 0.7221 GB, free: 14.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001913/0.7341, allocations: 434 kB / 0.7226 GB, free: 14.28 MB / 0.545 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.001299/0.7354, allocations: 485.7 kB / 0.723 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.7378, allocations: 0.8321 MB / 0.7238 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7378, allocations: 0 / 0.7238 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.7391, allocations: 435 kB / 0.7242 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004059/0.7432, allocations: 0.6908 MB / 0.7249 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.7483, allocations: 2.769 MB / 0.7276 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/0.7493, allocations: 1.162 MB / 0.7288 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.7498, allocations: 119.4 kB / 0.7289 GB, free: 8.008 MB / 0.545 GB Notification: Performance of SimCode: time 9.21e-07/0.7498, allocations: 0 / 0.7289 GB, free: 8.008 MB / 0.545 GB Notification: Performance of Templates: time 0.04875/0.7986, allocations: 33.82 MB / 0.7619 GB, free: 6.383 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)