Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001221/0.001221, allocations: 195.2 kB / 16.14 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.09/3.09, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.81 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3609, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07286/0.4338, allocations: 74.78 MB / 1.141 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02207/0.4559, allocations: 15.23 MB / 1.155 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003138/0.4591, allocations: 59.62 kB / 1.155 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.4617, allocations: 0.6759 MB / 1.156 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007376/0.4691, allocations: 2.383 MB / 1.158 GB, free: 13.45 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.4727, allocations: 1.264 MB / 1.16 GB, free: 12.19 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006813/0.4795, allocations: 5.549 MB / 1.165 GB, free: 6.629 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.4815, allocations: 1.194 MB / 1.166 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.4847, allocations: 1.377 MB / 1.168 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.4866, allocations: 1.202 MB / 1.169 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.4869, allocations: 72 kB / 1.169 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.4898, allocations: 1.275 MB / 1.17 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.4902, allocations: 314.6 kB / 1.17 GB, free: 1.16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.4912, allocations: 0.8083 MB / 1.171 GB, free: 356 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.4949, allocations: 2.797 MB / 1.174 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.4949, allocations: 0 / 1.174 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4949, allocations: 0 / 1.174 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.368e-05/0.495, allocations: 0 / 1.174 GB, free: 13.54 MB / 0.9356 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.004397/0.4994, allocations: 2.088 MB / 1.176 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4994, allocations: 12.03 kB / 1.176 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008497/0.5003, allocations: 230.8 kB / 1.176 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/0.5028, allocations: 1.504 MB / 1.178 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.5028, allocations: 74 kB / 1.178 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.503, allocations: 100 kB / 1.178 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.5051, allocations: 1.104 MB / 1.179 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.5051, allocations: 0 / 1.179 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.479e-05/0.5052, allocations: 36 kB / 1.179 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.5052, allocations: 24 kB / 1.179 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.5072, allocations: 0.9017 MB / 1.18 GB, free: 7.324 MB / 0.9356 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.006581/0.5138, allocations: 4.907 MB / 1.185 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.5152, allocations: 0.6157 MB / 1.185 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/0.516, allocations: 354.8 kB / 1.186 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006665/0.5166, allocations: 0.8238 MB / 1.186 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.5167, allocations: 43.12 kB / 1.186 GB, free: 92 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 3.597e-06/0.5167, allocations: 0 / 1.186 GB, free: 92 kB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.004977/0.5217, allocations: 1.412 MB / 1.188 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.5217, allocations: 55.97 kB / 1.188 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.5235, allocations: 1.206 MB / 1.189 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.199e-05/0.5236, allocations: 45.7 kB / 1.189 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.5241, allocations: 0.6026 MB / 1.19 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.5244, allocations: 224.8 kB / 1.19 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.5246, allocations: 150.6 kB / 1.19 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5248, allocations: 334 kB / 1.19 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/0.5254, allocations: 292.6 kB / 1.191 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008412/0.5263, allocations: 495.9 kB / 1.191 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.5277, allocations: 0.7159 MB / 1.192 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5278, allocations: 0 / 1.192 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004823/0.5326, allocations: 1.269 MB / 1.193 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.5326, allocations: 8.375 kB / 1.193 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5327, allocations: 8 kB / 1.193 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007104/0.5334, allocations: 152.7 kB / 1.193 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006214/0.534, allocations: 155.8 kB / 1.193 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008889/0.5349, allocations: 0.7162 MB / 1.194 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.5363, allocations: 155 kB / 1.194 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.5364, allocations: 35.98 kB / 1.194 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001291/0.5377, allocations: 0.5533 MB / 1.195 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008182/0.5386, allocations: 491.9 kB / 1.195 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.5399, allocations: 0.7002 MB / 1.196 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.518e-06/0.5399, allocations: 8 kB / 1.196 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004824/0.5448, allocations: 1.257 MB / 1.197 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5448, allocations: 9.719 kB / 1.197 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5448, allocations: 4 kB / 1.197 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/0.5454, allocations: 157 kB / 1.197 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.5461, allocations: 155.8 kB / 1.197 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008923/0.547, allocations: 0.7201 MB / 1.198 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5484, allocations: 131.5 kB / 1.198 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.5485, allocations: 35.98 kB / 1.198 GB, free: 3.48 MB / 0.9512 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.0003316/0.5488, allocations: 224.8 kB / 1.199 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.5491, allocations: 134.3 kB / 1.199 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004624/0.5537, allocations: 1.271 MB / 1.2 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.5538, allocations: 15.98 kB / 1.2 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.5538, allocations: 0 / 1.2 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004078/0.5579, allocations: 1.088 MB / 1.201 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/0.5622, allocations: 2.298 MB / 1.203 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.5623, allocations: 0 / 1.203 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.5628, allocations: 115.8 kB / 1.203 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/0.5634, allocations: 149.2 kB / 1.203 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.5634, allocations: 20 kB / 1.203 GB, free: 14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008002/0.5643, allocations: 0.7083 MB / 1.204 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5643, allocations: 8.062 kB / 1.204 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/0.5672, allocations: 1.391 MB / 1.206 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006715/0.5679, allocations: 315.1 kB / 1.206 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.5682, allocations: 16 kB / 1.206 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5692, allocations: 83.91 kB / 1.206 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.5694, allocations: 56.31 kB / 1.206 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.5695, allocations: 35.92 kB / 1.206 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001415/0.5709, allocations: 0.8739 MB / 1.207 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5709, allocations: 0 / 1.207 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002121/0.573, allocations: 0.7056 MB / 1.208 GB, free: 9.699 MB / 0.9669 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.001075/0.5741, allocations: 438.8 kB / 1.208 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002865/0.577, allocations: 1.121 MB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.577, allocations: 0 / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.578, allocations: 391.3 kB / 1.209 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/0.582, allocations: 0.7641 MB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.5867, allocations: 2.775 MB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/0.5876, allocations: 1.18 MB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001432/0.5891, allocations: 310.9 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.5894, allocations: 103.4 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of SimCode: time 8.01e-07/0.5894, allocations: 0 / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of Templates: time 0.05444/0.6438, allocations: 30.32 MB / 1.244 GB, free: 4.57 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)