Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 182.7 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.4585/0.4585, allocations: 87.51 MB / 104.9 MB, free: 13.03 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.408/1.408, allocations: 222.9 MB / 349.1 MB, free: 2.762 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.0009995/0.0009994, allocations: 106.4 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009529/0.0009529, allocations: 47.92 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3168, allocations: 70.06 MB / 0.5575 GB, free: 44.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05791/0.3748, allocations: 74.73 MB / 0.6305 GB, free: 2.254 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02038/0.3952, allocations: 15.22 MB / 0.6453 GB, free: 2.996 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.3977, allocations: 63.62 kB / 0.6454 GB, free: 2.934 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.3997, allocations: 0.6682 MB / 0.646 GB, free: 2.262 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006219/0.406, allocations: 2.382 MB / 0.6484 GB, free: 15.87 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.4095, allocations: 1.272 MB / 0.6496 GB, free: 14.61 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006869/0.4164, allocations: 5.596 MB / 0.6551 GB, free: 9 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.4182, allocations: 1.206 MB / 0.6562 GB, free: 7.766 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.4208, allocations: 1.388 MB / 0.6576 GB, free: 6.371 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.4227, allocations: 1.209 MB / 0.6588 GB, free: 5.156 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.4229, allocations: 80 kB / 0.6589 GB, free: 5.078 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003234/0.4262, allocations: 1.263 MB / 0.6601 GB, free: 3.812 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.4266, allocations: 322.6 kB / 0.6604 GB, free: 3.496 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.4279, allocations: 0.8161 MB / 0.6612 GB, free: 2.676 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00396/0.4318, allocations: 2.797 MB / 0.6639 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4318, allocations: 0 / 0.6639 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4319, allocations: 0 / 0.6639 GB, free: 15.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.068e-05/0.4319, allocations: 0 / 0.6639 GB, free: 15.87 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.004011/0.4359, allocations: 2.099 MB / 0.666 GB, free: 13.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.436, allocations: 8.031 kB / 0.666 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008331/0.4368, allocations: 226.8 kB / 0.6662 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.4394, allocations: 1.501 MB / 0.6677 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.4394, allocations: 78 kB / 0.6677 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.4396, allocations: 100 kB / 0.6678 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.4416, allocations: 1.112 MB / 0.6689 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.4416, allocations: 0 / 0.6689 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.954e-05/0.4417, allocations: 40 kB / 0.669 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.4418, allocations: 28 kB / 0.669 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.4437, allocations: 0.8939 MB / 0.6699 GB, free: 9.637 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.006357/0.4501, allocations: 4.907 MB / 0.6747 GB, free: 4.441 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.4515, allocations: 0.6118 MB / 0.6752 GB, free: 3.816 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007358/0.4523, allocations: 362.8 kB / 0.6756 GB, free: 3.461 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006424/0.4529, allocations: 0.8316 MB / 0.6764 GB, free: 2.445 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.453, allocations: 39.12 kB / 0.6764 GB, free: 2.398 MB / 490.7 MB Notification: Performance of pre-optimization done (n=62): time 2.906e-06/0.453, allocations: 4 kB / 0.6764 GB, free: 2.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=62): time 0.004966/0.4579, allocations: 1.401 MB / 0.6778 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.458, allocations: 59.97 kB / 0.6779 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.4596, allocations: 1.214 MB / 0.6791 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/0.4597, allocations: 41.7 kB / 0.6791 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/0.4602, allocations: 0.6104 MB / 0.6797 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.4604, allocations: 216.9 kB / 0.6799 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.4607, allocations: 158.5 kB / 0.6801 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.4608, allocations: 334 kB / 0.6804 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.4614, allocations: 288.7 kB / 0.6806 GB, free: 14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008171/0.4623, allocations: 499.8 kB / 0.6811 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.4637, allocations: 0.712 MB / 0.6818 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4637, allocations: 0 / 0.6818 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004825/0.4685, allocations: 1.265 MB / 0.6831 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4686, allocations: 8 kB / 0.6831 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4686, allocations: 0 / 0.6831 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006805/0.4693, allocations: 156.9 kB / 0.6832 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.4699, allocations: 159.7 kB / 0.6834 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008425/0.4707, allocations: 0.7085 MB / 0.6841 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.4719, allocations: 155 kB / 0.6842 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.472, allocations: 39.92 kB / 0.6842 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/0.4731, allocations: 0.5565 MB / 0.6848 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008254/0.474, allocations: 487.9 kB / 0.6853 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001374/0.4753, allocations: 0.6964 MB / 0.6859 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.4754, allocations: 7.938 kB / 0.6859 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004677/0.48, allocations: 1.261 MB / 0.6872 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4801, allocations: 12.06 kB / 0.6872 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4801, allocations: 4 kB / 0.6872 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.4807, allocations: 152.7 kB / 0.6873 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/0.4813, allocations: 147.8 kB / 0.6875 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008188/0.4821, allocations: 0.7239 MB / 0.6882 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.4833, allocations: 139.5 kB / 0.6883 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.4834, allocations: 39.92 kB / 0.6884 GB, free: 5.789 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.4836, allocations: 220.1 kB / 0.6886 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.4839, allocations: 138.3 kB / 0.6887 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004637/0.4885, allocations: 1.26 MB / 0.6899 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.4885, allocations: 8 kB / 0.6899 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4886, allocations: 0 / 0.6899 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004139/0.4927, allocations: 1.092 MB / 0.691 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004314/0.497, allocations: 2.298 MB / 0.6932 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.4971, allocations: 7.984 kB / 0.6932 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.4976, allocations: 116.2 kB / 0.6934 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006012/0.4982, allocations: 148.7 kB / 0.6935 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.4983, allocations: 19.98 kB / 0.6935 GB, free: 328 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008453/0.4991, allocations: 0.7083 MB / 0.6942 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.4991, allocations: 4 kB / 0.6942 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03671/0.5359, allocations: 11.69 MB / 0.7056 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008028/0.5367, allocations: 315.1 kB / 0.7059 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.537, allocations: 12 kB / 0.7059 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009888/0.538, allocations: 87.88 kB / 0.706 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.5381, allocations: 52.31 kB / 0.7061 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.5382, allocations: 35.97 kB / 0.7061 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001491/0.5397, allocations: 0.874 MB / 0.707 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5397, allocations: 0 / 0.707 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003038/0.5427, allocations: 1.096 MB / 0.708 GB, free: 1.012 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008932/0.5437, allocations: 459.2 kB / 0.7085 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2251/0.7687, allocations: 1.111 MB / 0.7096 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7688, allocations: 1.031 kB / 0.7096 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.7698, allocations: 393.9 kB / 0.7099 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004129/0.774, allocations: 0.7704 MB / 0.7107 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.7785, allocations: 3.358 MB / 0.714 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.779, allocations: 1.2 MB / 0.7151 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001503/0.7806, allocations: 307.9 kB / 0.7154 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.7809, allocations: 108.1 kB / 0.7155 GB, free: 142 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/0.7809, allocations: 0 / 0.7155 GB, free: 142 MB / 0.5105 GB Notification: Performance of Templates: time 0.04217/0.8231, allocations: 33.84 MB / 0.7486 GB, free: 114.5 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)