Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001216/0.001216, 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.001267/0.001267, allocations: 193 kB / 16.13 MB, free: 6.656 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 67.64 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3796, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.08072/0.4604, allocations: 74.79 MB / 1.141 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02147/0.4819, allocations: 15.22 MB / 1.155 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.4847, allocations: 67.5 kB / 1.155 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.4875, allocations: 0.6721 MB / 1.156 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007543/0.4951, allocations: 2.38 MB / 1.158 GB, free: 13.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.4988, allocations: 1.271 MB / 1.16 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007572/0.5064, allocations: 5.558 MB / 1.165 GB, free: 6.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.509, allocations: 1.186 MB / 1.166 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003569/0.5126, allocations: 1.38 MB / 1.168 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.5154, allocations: 1.198 MB / 1.169 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005532/0.5159, allocations: 72 kB / 1.169 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.52, allocations: 1.271 MB / 1.17 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007537/0.5208, allocations: 318.6 kB / 1.17 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002379/0.5232, allocations: 0.8083 MB / 1.171 GB, free: 428 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.5287, allocations: 2.797 MB / 1.174 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5288, allocations: 0 / 1.174 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5288, allocations: 0 / 1.174 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.85e-05/0.5289, allocations: 0 / 1.174 GB, free: 13.61 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.005648/0.5345, allocations: 2.087 MB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5346, allocations: 11.97 kB / 1.176 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.5357, allocations: 234.8 kB / 1.176 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.5393, allocations: 1.489 MB / 1.178 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.056e-05/0.5394, allocations: 74 kB / 1.178 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.5396, allocations: 112 kB / 1.178 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.5422, allocations: 1.1 MB / 1.179 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.5422, allocations: 3.984 kB / 1.179 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.5424, allocations: 36 kB / 1.179 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.5424, allocations: 28 kB / 1.179 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.5446, allocations: 0.8978 MB / 1.18 GB, free: 7.391 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.007836/0.5525, allocations: 4.907 MB / 1.185 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.554, allocations: 0.6118 MB / 1.185 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.5548, allocations: 354.8 kB / 1.186 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/0.5555, allocations: 0.8316 MB / 1.186 GB, free: 212 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.5555, allocations: 43.06 kB / 1.186 GB, free: 156 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 3.126e-06/0.5555, allocations: 4 kB / 1.186 GB, free: 152 kB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.005254/0.5608, allocations: 1.405 MB / 1.188 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.5609, allocations: 55.97 kB / 1.188 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/0.5632, allocations: 1.206 MB / 1.189 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.5633, allocations: 45.7 kB / 1.189 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/0.5639, allocations: 0.5988 MB / 1.19 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.5641, allocations: 224.7 kB / 1.19 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.5644, allocations: 150.6 kB / 1.19 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5645, allocations: 338 kB / 1.19 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/0.5653, allocations: 288.7 kB / 1.191 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009141/0.5662, allocations: 495.9 kB / 1.191 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.5677, allocations: 0.7197 MB / 1.192 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.5677, allocations: 4 kB / 1.192 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004929/0.5727, allocations: 1.269 MB / 1.193 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.5727, allocations: 8 kB / 1.193 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.5727, allocations: 4 kB / 1.193 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008029/0.5736, allocations: 153.1 kB / 1.193 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/0.5743, allocations: 155.8 kB / 1.193 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009928/0.5753, allocations: 0.7161 MB / 1.194 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.5768, allocations: 155 kB / 1.194 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.5769, allocations: 39.98 kB / 1.194 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001336/0.5782, allocations: 0.5526 MB / 1.195 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009354/0.5792, allocations: 495.8 kB / 1.195 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001497/0.5807, allocations: 0.7002 MB / 1.196 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.629e-06/0.5807, allocations: 0 / 1.196 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004862/0.5856, allocations: 1.265 MB / 1.197 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5856, allocations: 4 kB / 1.197 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5856, allocations: 4 kB / 1.197 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.5863, allocations: 153.1 kB / 1.197 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.5869, allocations: 159.8 kB / 1.197 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009123/0.5879, allocations: 0.7161 MB / 1.198 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.5893, allocations: 131.5 kB / 1.198 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.5894, allocations: 35.98 kB / 1.198 GB, free: 3.547 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.0003009/0.5897, allocations: 224.6 kB / 1.199 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004522/0.5901, allocations: 138.3 kB / 1.199 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004755/0.5949, allocations: 1.256 MB / 1.2 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.5949, allocations: 11.98 kB / 1.2 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.595, allocations: 0 / 1.2 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/0.5991, allocations: 1.096 MB / 1.201 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/0.6045, allocations: 2.298 MB / 1.203 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.6045, allocations: 4 kB / 1.203 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.605, allocations: 111.8 kB / 1.203 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006245/0.6057, allocations: 144.9 kB / 1.203 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.6058, allocations: 19.98 kB / 1.204 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008694/0.6066, allocations: 0.7122 MB / 1.204 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6066, allocations: 4 kB / 1.204 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.6098, allocations: 1.395 MB / 1.206 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008608/0.6106, allocations: 315.1 kB / 1.206 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/0.6111, allocations: 15.98 kB / 1.206 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.6123, allocations: 87.84 kB / 1.206 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.6124, allocations: 56.23 kB / 1.206 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/0.6125, allocations: 39.98 kB / 1.206 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001837/0.6144, allocations: 0.8701 MB / 1.207 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6144, allocations: 0 / 1.207 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002868/0.6173, allocations: 0.7056 MB / 1.208 GB, free: 9.77 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.001247/0.6185, allocations: 439.5 kB / 1.208 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.6215, allocations: 1.125 MB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.6215, allocations: 0 / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.6226, allocations: 395.3 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/0.6268, allocations: 0.7629 MB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.6318, allocations: 2.772 MB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.6329, allocations: 1.176 MB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001561/0.6345, allocations: 313.9 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.6348, allocations: 103.4 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of SimCode: time 1.342e-06/0.6349, allocations: 0 / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of Templates: time 0.05388/0.6887, allocations: 30.32 MB / 1.244 GB, free: 4.645 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)