Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001258/0.001258, allocations: 118.4 kB / 17.1 MB, free: 6.008 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.001384/0.001383, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.405/1.405, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7265/0.7265, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.53 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1623, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07229/0.2346, allocations: 70.43 MB / 0.7015 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03113/0.2658, allocations: 18.93 MB / 0.72 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003777/0.2697, allocations: 75.5 kB / 0.7201 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.2728, allocations: 0.815 MB / 0.7209 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009795/0.2827, allocations: 2.856 MB / 0.7236 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005565/0.2883, allocations: 1.647 MB / 0.7253 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006957/0.2953, allocations: 4.066 MB / 0.7292 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.2986, allocations: 1.445 MB / 0.7306 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006039/0.3046, allocations: 1.802 MB / 0.7324 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.3076, allocations: 1.179 MB / 0.7335 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006654/0.3083, allocations: 176 kB / 0.7337 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.3125, allocations: 1.423 MB / 0.7351 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007818/0.3133, allocations: 382.6 kB / 0.7355 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.3155, allocations: 0.9216 MB / 0.7364 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007039/0.3226, allocations: 3.101 MB / 0.7394 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.3226, allocations: 0 / 0.7394 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3226, allocations: 4 kB / 0.7394 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001065/0.3228, allocations: 0 / 0.7394 GB, free: 6.801 MB / 0.5762 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.006173/0.3289, allocations: 2.019 MB / 0.7414 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.208e-05/0.329, allocations: 16.03 kB / 0.7414 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/0.3318, allocations: 442.4 kB / 0.7418 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.3361, allocations: 1.551 MB / 0.7433 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.3362, allocations: 82.03 kB / 0.7434 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3363, allocations: 100 kB / 0.7435 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.3391, allocations: 1.313 MB / 0.7448 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.3392, allocations: 7.938 kB / 0.7448 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.3393, allocations: 44 kB / 0.7448 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.3393, allocations: 24 kB / 0.7449 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4149/0.7542, allocations: 1.099 MB / 0.7459 GB, free: 110.4 MB / 0.5762 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.009691/0.764, allocations: 7.49 MB / 0.7532 GB, free: 105 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.7671, allocations: 0.8067 MB / 0.754 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.7678, allocations: 291.5 kB / 0.7543 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009744/0.7688, allocations: 1.719 MB / 0.756 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.7688, allocations: 37.31 kB / 0.756 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 3.487e-06/0.7688, allocations: 1.281 kB / 0.756 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.005235/0.7741, allocations: 1.336 MB / 0.7573 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.7741, allocations: 59.17 kB / 0.7574 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/0.7771, allocations: 1.543 MB / 0.7589 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.141e-05/0.7772, allocations: 38.77 kB / 0.7589 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.7777, allocations: 0.6728 MB / 0.7596 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.7779, allocations: 172.2 kB / 0.7597 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.7781, allocations: 173.4 kB / 0.7599 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.7782, allocations: 338.2 kB / 0.7602 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009646/0.7792, allocations: 362.3 kB / 0.7606 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.7804, allocations: 0.6613 MB / 0.7612 GB, free: 99.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.7821, allocations: 0.8909 MB / 0.7621 GB, free: 99.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.7821, allocations: 3.625 kB / 0.7621 GB, free: 99.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003157/0.7852, allocations: 1.192 MB / 0.7633 GB, free: 98.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.7853, allocations: 8.766 kB / 0.7633 GB, free: 98.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/0.7853, allocations: 8.156 kB / 0.7633 GB, free: 98.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.7864, allocations: 227.1 kB / 0.7635 GB, free: 98.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009153/0.7873, allocations: 186.4 kB / 0.7637 GB, free: 98.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008903/0.7882, allocations: 0.7216 MB / 0.7644 GB, free: 98.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.7899, allocations: 215 kB / 0.7646 GB, free: 98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.79, allocations: 40.42 kB / 0.7646 GB, free: 98 MB / 0.5762 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.0006438/0.7906, allocations: 356.3 kB / 0.765 GB, free: 97.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.7909, allocations: 154.6 kB / 0.7651 GB, free: 97.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.7933, allocations: 1.144 MB / 0.7662 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.7933, allocations: 0.5625 kB / 0.7662 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.7933, allocations: 1.219 kB / 0.7662 GB, free: 97.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.7938, allocations: 349.3 kB / 0.7666 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.794, allocations: 10.28 kB / 0.7666 GB, free: 96.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/0.7948, allocations: 69.14 kB / 0.7666 GB, free: 96.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.7949, allocations: 40.55 kB / 0.7667 GB, free: 96.92 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002732/0.7977, allocations: 0.9937 MB / 0.7676 GB, free: 96.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002341/0.8, allocations: 1.418 MB / 0.769 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006544/0.8007, allocations: 345.4 kB / 0.7694 GB, free: 95.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001739/0.8024, allocations: 1.085 MB / 0.7704 GB, free: 94.97 MB / 0.5762 GB Notification: Performance of Backend: time 5.51e-07/0.8024, allocations: 0 / 0.7704 GB, free: 94.97 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003196/0.8056, allocations: 1.074 MB / 0.7715 GB, free: 94.52 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004942/0.8106, allocations: 3.181 MB / 0.7746 GB, free: 92.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.03953/0.8501, allocations: 33.45 MB / 0.8072 GB, free: 62.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)