Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.0009207/0.0009209, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001058/0.001058, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005265, allocations: 20 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4922, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07001/0.5623, allocations: 69.47 MB / 0.796 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.5805, allocations: 14.02 MB / 0.8097 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.5825, allocations: 51.62 kB / 0.8097 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.5843, allocations: 0.5705 MB / 0.8103 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005417/0.5898, allocations: 1.975 MB / 0.8122 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.5926, allocations: 0.9464 MB / 0.8131 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00597/0.5986, allocations: 4.754 MB / 0.8178 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.6002, allocations: 1.013 MB / 0.8188 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.6028, allocations: 1.287 MB / 0.82 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.6043, allocations: 1.077 MB / 0.8211 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.6045, allocations: 59.94 kB / 0.8211 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.6068, allocations: 0.9393 MB / 0.822 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.6071, allocations: 270.7 kB / 0.8223 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.6076, allocations: 360.9 kB / 0.8226 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.6102, allocations: 2.073 MB / 0.8247 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.6102, allocations: 0 / 0.8247 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6102, allocations: 3.938 kB / 0.8247 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.6102, allocations: 0 / 0.8247 GB, free: 8.242 MB / 0.6387 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.003277/0.6135, allocations: 1.807 MB / 0.8264 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6135, allocations: 8.031 kB / 0.8264 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007034/0.6143, allocations: 245.8 kB / 0.8267 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.6167, allocations: 1.431 MB / 0.8281 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.6168, allocations: 77.98 kB / 0.8281 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.6169, allocations: 104 kB / 0.8282 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.6189, allocations: 1.108 MB / 0.8293 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.619, allocations: 3.938 kB / 0.8293 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.619, allocations: 40 kB / 0.8294 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/0.6191, allocations: 31.94 kB / 0.8294 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.621, allocations: 0.9329 MB / 0.8303 GB, free: 2.305 MB / 0.6387 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.006186/0.6272, allocations: 4.907 MB / 0.8351 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.6286, allocations: 0.6459 MB / 0.8357 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.6293, allocations: 363.1 kB / 0.8361 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006176/0.63, allocations: 0.8355 MB / 0.8369 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.63, allocations: 35.12 kB / 0.8369 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 3.667e-06/0.63, allocations: 0 / 0.8369 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.004684/0.6347, allocations: 1.529 MB / 0.8384 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.6348, allocations: 59.97 kB / 0.8385 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.6366, allocations: 1.202 MB / 0.8397 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.6367, allocations: 37.7 kB / 0.8397 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.6373, allocations: 0.5988 MB / 0.8403 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.6375, allocations: 216.8 kB / 0.8405 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.6376, allocations: 16 kB / 0.8405 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6377, allocations: 338 kB / 0.8408 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.6384, allocations: 293.8 kB / 0.8411 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.6392, allocations: 0.5076 MB / 0.8416 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007187/0.64, allocations: 359 kB / 0.8419 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.64, allocations: 0 / 0.8419 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004481/0.6445, allocations: 1.39 MB / 0.8433 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.6446, allocations: 193.4 kB / 0.8435 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6447, allocations: 4 kB / 0.8435 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007438/0.6454, allocations: 164.7 kB / 0.8436 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.6461, allocations: 167.7 kB / 0.8438 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009217/0.6471, allocations: 0.7318 MB / 0.8445 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.6484, allocations: 171 kB / 0.8447 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.6485, allocations: 35.98 kB / 0.8447 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.6485, allocations: 4 kB / 0.8447 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004083/0.6526, allocations: 1.245 MB / 0.8459 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.6526, allocations: 0 / 0.8459 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.6532, allocations: 169 kB / 0.8461 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.6539, allocations: 159.8 kB / 0.8462 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008437/0.6548, allocations: 0.7297 MB / 0.847 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.6561, allocations: 163.2 kB / 0.8471 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.271e-05/0.6562, allocations: 35.92 kB / 0.8471 GB, free: 300 kB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007479/0.6569, allocations: 417 kB / 0.8475 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.6573, allocations: 142.2 kB / 0.8477 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.6618, allocations: 1.385 MB / 0.849 GB, free: 14.33 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.6618, allocations: 8 kB / 0.849 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.6619, allocations: 4 kB / 0.849 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003865/0.6657, allocations: 1.217 MB / 0.8502 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.6703, allocations: 2.341 MB / 0.8525 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.6703, allocations: 4 kB / 0.8525 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.6708, allocations: 124.3 kB / 0.8526 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005917/0.6714, allocations: 152.7 kB / 0.8528 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.6715, allocations: 16 kB / 0.8528 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009613/0.6725, allocations: 0.7279 MB / 0.8535 GB, free: 9.574 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.649e-06/0.6725, allocations: 4 kB / 0.8535 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.6758, allocations: 1.45 MB / 0.8549 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/0.6767, allocations: 339.1 kB / 0.8553 GB, free: 7.695 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/0.6771, allocations: 16 kB / 0.8553 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6781, allocations: 99.86 kB / 0.8554 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6782, allocations: 56.27 kB / 0.8554 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.6783, allocations: 27.98 kB / 0.8554 GB, free: 7.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001387/0.6797, allocations: 0.8582 MB / 0.8563 GB, free: 6.641 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6797, allocations: 0 / 0.8563 GB, free: 6.641 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002197/0.6819, allocations: 0.7057 MB / 0.857 GB, free: 5.934 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009181/0.6829, allocations: 430.7 kB / 0.8574 GB, free: 5.516 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002742/0.6856, allocations: 1.164 MB / 0.8585 GB, free: 4.359 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.6856, allocations: 7.938 kB / 0.8585 GB, free: 4.352 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009841/0.6866, allocations: 411.3 kB / 0.8589 GB, free: 3.949 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/0.6903, allocations: 0.7716 MB / 0.8597 GB, free: 3.191 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.6948, allocations: 2.769 MB / 0.8624 GB, free: 356 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008916/0.6957, allocations: 1.164 MB / 0.8635 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001344/0.6971, allocations: 307.1 kB / 0.8638 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.6974, allocations: 103.4 kB / 0.8639 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of SimCode: time 1.092e-06/0.6974, allocations: 0 / 0.8639 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of Templates: time 0.04927/0.7467, allocations: 29.4 MB / 0.8926 GB, free: 1.723 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: