Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.456/0.456, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 104.4 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000993/0.0009932, allocations: 51.92 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3069, allocations: 70.06 MB / 0.5575 GB, free: 44.48 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05763/0.3645, allocations: 74.73 MB / 0.6305 GB, free: 2.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02181/0.3864, allocations: 15.21 MB / 0.6453 GB, free: 2.984 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00338/0.3898, allocations: 59.62 kB / 0.6454 GB, free: 2.926 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.3928, allocations: 0.676 MB / 0.646 GB, free: 2.246 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007854/0.4007, allocations: 2.379 MB / 0.6484 GB, free: 15.86 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.4048, allocations: 1.266 MB / 0.6496 GB, free: 14.61 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.008265/0.4131, allocations: 5.599 MB / 0.6551 GB, free: 8.992 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.4158, allocations: 1.202 MB / 0.6562 GB, free: 7.762 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.4198, allocations: 1.384 MB / 0.6576 GB, free: 6.371 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.4223, allocations: 1.198 MB / 0.6588 GB, free: 5.168 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004879/0.4228, allocations: 76 kB / 0.6588 GB, free: 5.094 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.4262, allocations: 1.255 MB / 0.6601 GB, free: 3.836 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005618/0.4268, allocations: 318.6 kB / 0.6604 GB, free: 3.523 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.4284, allocations: 0.8045 MB / 0.6611 GB, free: 2.715 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.433, allocations: 2.777 MB / 0.6639 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.433, allocations: 0 / 0.6639 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.433, allocations: 0 / 0.6639 GB, free: 15.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.31e-05/0.4331, allocations: 0 / 0.6639 GB, free: 15.93 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00497/0.4381, allocations: 2.095 MB / 0.6659 GB, free: 13.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4381, allocations: 8.031 kB / 0.6659 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/0.4391, allocations: 230.7 kB / 0.6661 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.442, allocations: 1.493 MB / 0.6676 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.4421, allocations: 77.98 kB / 0.6677 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.4423, allocations: 104 kB / 0.6678 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.4444, allocations: 1.1 MB / 0.6688 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.4444, allocations: 0 / 0.6688 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/0.4445, allocations: 36 kB / 0.6689 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.4445, allocations: 31.94 kB / 0.6689 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.4465, allocations: 0.8861 MB / 0.6698 GB, free: 9.719 MB / 490.7 MB 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.006501/0.4531, allocations: 4.907 MB / 0.6746 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.4546, allocations: 0.6197 MB / 0.6752 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007038/0.4553, allocations: 350.8 kB / 0.6755 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006569/0.4559, allocations: 0.8277 MB / 0.6763 GB, free: 2.539 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.456, allocations: 39.12 kB / 0.6763 GB, free: 2.492 MB / 490.7 MB Notification: Performance of pre-optimization done (n=61): time 2.595e-06/0.456, allocations: 4 kB / 0.6764 GB, free: 2.488 MB / 490.7 MB Notification: Performance of matching and sorting (n=61): time 0.007126/0.4631, allocations: 1.693 MB / 0.678 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.4632, allocations: 63.91 kB / 0.6781 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.4652, allocations: 1.21 MB / 0.6792 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.243e-05/0.4653, allocations: 41.7 kB / 0.6793 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.4659, allocations: 0.6065 MB / 0.6799 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.4662, allocations: 213 kB / 0.6801 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.4664, allocations: 158.5 kB / 0.6802 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4666, allocations: 330 kB / 0.6805 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/0.4673, allocations: 292.6 kB / 0.6808 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/0.4681, allocations: 0.489 MB / 0.6813 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.4696, allocations: 0.7129 MB / 0.682 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.4696, allocations: 0 / 0.682 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004827/0.4744, allocations: 1.277 MB / 0.6832 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.4745, allocations: 8 kB / 0.6833 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.4745, allocations: 4 kB / 0.6833 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/0.4752, allocations: 132.9 kB / 0.6834 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.4758, allocations: 159.8 kB / 0.6835 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009091/0.4768, allocations: 0.7083 MB / 0.6842 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.4782, allocations: 155.1 kB / 0.6844 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.4784, allocations: 35.98 kB / 0.6844 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00135/0.4797, allocations: 0.5487 MB / 0.6849 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008545/0.4806, allocations: 496.7 kB / 0.6854 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001424/0.482, allocations: 0.7051 MB / 0.6861 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.482, allocations: 0 / 0.6861 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004739/0.4868, allocations: 1.269 MB / 0.6874 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4868, allocations: 17.84 kB / 0.6874 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4868, allocations: 4 kB / 0.6874 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.4874, allocations: 136.7 kB / 0.6875 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.488, allocations: 159.7 kB / 0.6877 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008026/0.4888, allocations: 0.7006 MB / 0.6883 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.4902, allocations: 131.5 kB / 0.6885 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.4903, allocations: 35.98 kB / 0.6885 GB, free: 5.621 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.4905, allocations: 224.1 kB / 0.6887 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.4909, allocations: 138.2 kB / 0.6888 GB, free: 5.258 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.4957, allocations: 1.272 MB / 0.6901 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.4957, allocations: 4 kB / 0.6901 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4957, allocations: 0 / 0.6901 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004166/0.4999, allocations: 1.103 MB / 0.6912 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007533/0.5074, allocations: 2.614 MB / 0.6937 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5075, allocations: 448 / 0.6937 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.508, allocations: 115.9 kB / 0.6938 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/0.5085, allocations: 124.8 kB / 0.6939 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.5086, allocations: 23.98 kB / 0.694 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004783/0.5134, allocations: 2.384 MB / 0.6963 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/0.5134, allocations: 11.92 kB / 0.6963 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03399/0.5474, allocations: 10.72 MB / 0.7068 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.548, allocations: 307.1 kB / 0.7071 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.5482, allocations: 24.36 kB / 0.7071 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008798/0.5491, allocations: 83.91 kB / 0.7072 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5493, allocations: 56.31 kB / 0.7072 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/0.5493, allocations: 35.97 kB / 0.7073 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001302/0.5507, allocations: 0.8662 MB / 0.7081 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.343e-06/0.5507, allocations: 4.047 kB / 0.7081 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.2349/0.7856, allocations: 1.095 MB / 0.7092 GB, free: 143.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001055/0.7867, allocations: 440 kB / 0.7096 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002852/0.7896, allocations: 1.111 MB / 0.7107 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7896, allocations: 2.797 kB / 0.7107 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.7911, allocations: 0.5604 MB / 0.7112 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/0.7949, allocations: 0.757 MB / 0.712 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/0.8007, allocations: 3.509 MB / 0.7154 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.8016, allocations: 1.199 MB / 0.7166 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001481/0.8031, allocations: 304.2 kB / 0.7169 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.8033, allocations: 107.6 kB / 0.717 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/0.8034, allocations: 2.672 kB / 0.717 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.04242/0.8458, allocations: 33.48 MB / 0.7497 GB, free: 112.8 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)