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.001548/0.001548, allocations: 118.2 kB / 17.09 MB, free: 5.969 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.001781/0.001781, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7168/0.7168, allocations: 115.3 MB / 407.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 65.03 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1646, allocations: 76.17 MB / 0.6327 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07134/0.2359, allocations: 70.43 MB / 0.7015 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02574/0.2617, allocations: 18.92 MB / 0.72 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.2652, allocations: 71.56 kB / 0.72 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002658/0.2679, allocations: 0.8189 MB / 0.7208 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009151/0.2771, allocations: 2.865 MB / 0.7236 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004797/0.282, allocations: 1.64 MB / 0.7252 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006262/0.2882, allocations: 4.054 MB / 0.7292 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.2907, allocations: 1.457 MB / 0.7306 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004765/0.2955, allocations: 1.801 MB / 0.7324 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.2977, allocations: 1.187 MB / 0.7335 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.2981, allocations: 176 kB / 0.7337 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/0.3019, allocations: 1.412 MB / 0.7351 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000614/0.3025, allocations: 390.6 kB / 0.7355 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.3041, allocations: 0.9137 MB / 0.7364 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00488/0.3089, allocations: 3.105 MB / 0.7394 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.309, allocations: 0 / 0.7394 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.309, allocations: 0 / 0.7394 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.309, allocations: 0 / 0.7394 GB, free: 6.824 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.003644/0.3127, allocations: 2.031 MB / 0.7414 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3127, allocations: 12.03 kB / 0.7414 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.3149, allocations: 446.4 kB / 0.7418 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/0.3179, allocations: 1.551 MB / 0.7433 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.318, allocations: 78.03 kB / 0.7434 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.3181, allocations: 104 kB / 0.7435 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.3206, allocations: 1.313 MB / 0.7448 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.3207, allocations: 3.938 kB / 0.7448 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.3208, allocations: 48 kB / 0.7448 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.3208, allocations: 24 kB / 0.7449 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4002/0.721, allocations: 1.092 MB / 0.7459 GB, free: 110.2 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.009879/0.7309, allocations: 7.498 MB / 0.7532 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.7341, allocations: 0.8065 MB / 0.754 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.7347, allocations: 286.3 kB / 0.7543 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000927/0.7356, allocations: 1.721 MB / 0.756 GB, free: 102.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.7357, allocations: 38.23 kB / 0.756 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/0.7357, allocations: 0.9062 kB / 0.756 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004907/0.7406, allocations: 1.331 MB / 0.7573 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.7407, allocations: 56.28 kB / 0.7574 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.7434, allocations: 1.547 MB / 0.7589 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.7435, allocations: 37.8 kB / 0.7589 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/0.744, allocations: 0.6722 MB / 0.7596 GB, free: 101 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.7442, allocations: 174.9 kB / 0.7597 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003008/0.7445, allocations: 170.6 kB / 0.7599 GB, free: 100.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.7446, allocations: 338.7 kB / 0.7602 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009541/0.7455, allocations: 369.4 kB / 0.7606 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.7467, allocations: 0.6628 MB / 0.7612 GB, free: 99.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.7483, allocations: 0.8847 MB / 0.7621 GB, free: 99.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7483, allocations: 2.188 kB / 0.7621 GB, free: 99.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002901/0.7512, allocations: 1.192 MB / 0.7633 GB, free: 98.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.7513, allocations: 10.12 kB / 0.7633 GB, free: 98.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.7513, allocations: 8.062 kB / 0.7633 GB, free: 98.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/0.7523, allocations: 223.9 kB / 0.7635 GB, free: 98.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/0.7532, allocations: 192 kB / 0.7637 GB, free: 98.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008465/0.7541, allocations: 0.7209 MB / 0.7644 GB, free: 98.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.7557, allocations: 215.3 kB / 0.7646 GB, free: 98.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.7558, allocations: 43.81 kB / 0.7646 GB, free: 98.12 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.0006421/0.7565, allocations: 358.6 kB / 0.765 GB, free: 97.86 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.7567, allocations: 156.8 kB / 0.7651 GB, free: 97.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.7591, allocations: 1.129 MB / 0.7662 GB, free: 97.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.411e-05/0.7591, allocations: 12.61 kB / 0.7662 GB, free: 97.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7591, allocations: 0 / 0.7662 GB, free: 97.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.7591, allocations: 4.734 kB / 0.7662 GB, free: 97.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00519/0.7643, allocations: 2.516 MB / 0.7687 GB, free: 95.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.7643, allocations: 2.844 kB / 0.7687 GB, free: 95.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.7647, allocations: 80.8 kB / 0.7688 GB, free: 95.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007254/0.7654, allocations: 217.7 kB / 0.769 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.7655, allocations: 21.33 kB / 0.769 GB, free: 95.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.7666, allocations: 0.7652 MB / 0.7697 GB, free: 95.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7666, allocations: 1.312 kB / 0.7697 GB, free: 95.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.77, allocations: 1.209 MB / 0.7709 GB, free: 94.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006628/0.7707, allocations: 350 kB / 0.7713 GB, free: 94.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.7709, allocations: 16.23 kB / 0.7713 GB, free: 94.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/0.7718, allocations: 76 kB / 0.7713 GB, free: 93.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.7719, allocations: 48.06 kB / 0.7714 GB, free: 93.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/0.772, allocations: 26.05 kB / 0.7714 GB, free: 93.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001834/0.7738, allocations: 1.086 MB / 0.7725 GB, free: 93.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7738, allocations: 0 / 0.7725 GB, free: 93.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001422/0.7753, allocations: 444.6 kB / 0.7729 GB, free: 93.28 MB / 0.5762 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.0008816/0.7761, allocations: 470 kB / 0.7734 GB, free: 93.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002066/0.7782, allocations: 0.8511 MB / 0.7742 GB, free: 92.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7782, allocations: 4.062 kB / 0.7742 GB, free: 92.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.7794, allocations: 441.4 kB / 0.7746 GB, free: 92.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.7822, allocations: 0.7339 MB / 0.7753 GB, free: 92.13 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.7856, allocations: 2.292 MB / 0.7776 GB, free: 90.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.7861, allocations: 1.157 MB / 0.7787 GB, free: 89.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003219/0.7864, allocations: 125.7 kB / 0.7788 GB, free: 89.83 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/0.7864, allocations: 0 / 0.7788 GB, free: 89.83 MB / 0.5762 GB Notification: Performance of Templates: time 0.03597/0.8224, allocations: 34.22 MB / 0.8122 GB, free: 57.19 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)