Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 101.1 kB / 16.27 MB, free: 5.848 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.001925/0.001925, allocations: 187.4 kB / 17.19 MB, free: 5.5 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.472/1.472, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8195/0.8195, allocations: 125.4 MB / 416.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 59.91 kB / 0.4941 GB, free: 4.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3735, allocations: 78.55 MB / 0.5708 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.06901/0.4425, allocations: 75.29 MB / 0.6444 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0235/0.4661, allocations: 15.17 MB / 0.6592 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.4688, allocations: 67.62 kB / 0.6593 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.4713, allocations: 0.8267 MB / 0.6601 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007278/0.4787, allocations: 2.573 MB / 0.6626 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.4823, allocations: 1.39 MB / 0.6639 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006477/0.4888, allocations: 4.4 MB / 0.6682 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.4917, allocations: 1.447 MB / 0.6696 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007597/0.4993, allocations: 1.819 MB / 0.6714 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.5029, allocations: 1.194 MB / 0.6726 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000951/0.5039, allocations: 164 kB / 0.6727 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00583/0.5097, allocations: 1.4 MB / 0.6741 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.5108, allocations: 398.6 kB / 0.6745 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002824/0.5136, allocations: 0.906 MB / 0.6754 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007362/0.521, allocations: 2.84 MB / 0.6781 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.5211, allocations: 0 / 0.6781 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5211, allocations: 0 / 0.6781 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.349e-05/0.5212, allocations: 0 / 0.6781 GB, free: 9.41 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006813/0.528, allocations: 2.079 MB / 0.6802 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.5281, allocations: 12.03 kB / 0.6802 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.5295, allocations: 230.8 kB / 0.6804 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/0.5334, allocations: 1.454 MB / 0.6818 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/0.5335, allocations: 74 kB / 0.6819 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.5338, allocations: 104 kB / 0.682 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.5369, allocations: 1.108 MB / 0.6831 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.5369, allocations: 0 / 0.6831 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.5371, allocations: 36 kB / 0.6831 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.5371, allocations: 28 kB / 0.6831 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.54, allocations: 0.89 MB / 0.684 GB, free: 3.246 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.00928/0.5493, allocations: 4.96 MB / 0.6889 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.5515, allocations: 0.612 MB / 0.6895 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.5526, allocations: 354.3 kB / 0.6898 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009309/0.5535, allocations: 0.8238 MB / 0.6906 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.5536, allocations: 43.11 kB / 0.6906 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.386e-06/0.5536, allocations: 0 / 0.6906 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.01042/0.564, allocations: 1.693 MB / 0.6923 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.5641, allocations: 59.97 kB / 0.6923 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.5672, allocations: 1.23 MB / 0.6935 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.5674, allocations: 41.7 kB / 0.6936 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000843/0.5683, allocations: 0.6027 MB / 0.6942 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004234/0.5687, allocations: 212.8 kB / 0.6944 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004521/0.5692, allocations: 154.6 kB / 0.6945 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.5694, allocations: 333.9 kB / 0.6948 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.5705, allocations: 292.7 kB / 0.6951 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.5718, allocations: 0.4967 MB / 0.6956 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.574, allocations: 0.709 MB / 0.6963 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5741, allocations: 4 kB / 0.6963 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007122/0.5812, allocations: 1.265 MB / 0.6975 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.5813, allocations: 11.98 kB / 0.6975 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.5813, allocations: 7.938 kB / 0.6976 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/0.5822, allocations: 137.1 kB / 0.6977 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/0.5832, allocations: 163.7 kB / 0.6978 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.5845, allocations: 0.6993 MB / 0.6985 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.5863, allocations: 119 kB / 0.6986 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.5864, allocations: 32.05 kB / 0.6987 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001738/0.5882, allocations: 0.561 MB / 0.6992 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001321/0.5895, allocations: 492.8 kB / 0.6997 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002167/0.5917, allocations: 0.705 MB / 0.7004 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.343e-06/0.5917, allocations: 11.94 kB / 0.7004 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.007166/0.5989, allocations: 1.261 MB / 0.7016 GB, free: 328 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5989, allocations: 8 kB / 0.7016 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.599, allocations: 7.938 kB / 0.7016 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007361/0.5997, allocations: 137.1 kB / 0.7018 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.6007, allocations: 159.7 kB / 0.7019 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.602, allocations: 0.7006 MB / 0.7026 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.6037, allocations: 99.45 kB / 0.7027 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.6038, allocations: 39.98 kB / 0.7027 GB, free: 15.15 MB / 0.545 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.000351/0.6042, allocations: 224.1 kB / 0.7029 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005542/0.6047, allocations: 130.4 kB / 0.7031 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006838/0.6116, allocations: 1.267 MB / 0.7043 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.6116, allocations: 8 kB / 0.7043 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6116, allocations: 0 / 0.7043 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006014/0.6176, allocations: 1.107 MB / 0.7054 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.6277, allocations: 2.621 MB / 0.708 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/0.6278, allocations: 4 kB / 0.708 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/0.6286, allocations: 116.2 kB / 0.7081 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006947/0.6293, allocations: 132.7 kB / 0.7082 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/0.6294, allocations: 19.98 kB / 0.7082 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007509/0.6369, allocations: 2.628 MB / 0.7108 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.6369, allocations: 4 kB / 0.7108 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008039/0.645, allocations: 1.707 MB / 0.7125 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009405/0.646, allocations: 299.2 kB / 0.7127 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/0.6464, allocations: 16 kB / 0.7128 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.6478, allocations: 64.03 kB / 0.7128 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.648, allocations: 64.19 kB / 0.7129 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.6481, allocations: 27.98 kB / 0.7129 GB, free: 4.316 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00212/0.6502, allocations: 0.8857 MB / 0.7138 GB, free: 3.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6503, allocations: 0 / 0.7138 GB, free: 3.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003088/0.6533, allocations: 0.7174 MB / 0.7145 GB, free: 2.711 MB / 0.545 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.001288/0.6547, allocations: 467.9 kB / 0.7149 GB, free: 2.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004275/0.6589, allocations: 1.156 MB / 0.716 GB, free: 1.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.659, allocations: 0 / 0.716 GB, free: 1.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.6612, allocations: 0.5681 MB / 0.7166 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005885/0.6671, allocations: 0.8056 MB / 0.7174 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.673, allocations: 2.307 MB / 0.7196 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.6743, allocations: 1.175 MB / 0.7208 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001626/0.6759, allocations: 311.6 kB / 0.7211 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.6763, allocations: 115.3 kB / 0.7212 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.6763, allocations: 0 / 0.7212 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.3095/0.9858, allocations: 32.15 MB / 0.7526 GB, free: 162.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)