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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 169.7 kB / 326.5 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008487/0.0008486, allocations: 78.38 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 16.09 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2483, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07203/0.3204, allocations: 74.44 MB / 0.9694 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.3413, allocations: 15.06 MB / 0.9841 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.3441, allocations: 59.62 kB / 0.9842 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.3467, allocations: 0.676 MB / 0.9849 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007376/0.3541, allocations: 2.355 MB / 0.9872 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003653/0.3577, allocations: 1.255 MB / 0.9884 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006577/0.3643, allocations: 5.506 MB / 0.9938 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.3662, allocations: 1.132 MB / 0.9949 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.3695, allocations: 1.357 MB / 0.9962 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.3716, allocations: 1.147 MB / 0.9973 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.3719, allocations: 56 kB / 0.9974 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.375, allocations: 1.263 MB / 0.9986 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/0.3754, allocations: 282.6 kB / 0.9989 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.3767, allocations: 0.781 MB / 0.9996 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00319/0.3799, allocations: 2.151 MB / 1.002 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3799, allocations: 4 kB / 1.002 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3799, allocations: 0 / 1.002 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.537e-05/0.3799, allocations: 0 / 1.002 GB, free: 8.324 MB / 0.6511 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.003434/0.3834, allocations: 1.787 MB / 1.003 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3834, allocations: 8.031 kB / 1.003 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008118/0.3842, allocations: 246.8 kB / 1.004 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.3867, allocations: 1.481 MB / 1.005 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.056e-05/0.3868, allocations: 85.98 kB / 1.005 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.387, allocations: 100 kB / 1.005 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.3889, allocations: 1.108 MB / 1.006 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.389, allocations: 7.938 kB / 1.006 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.3891, allocations: 36 kB / 1.006 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.3891, allocations: 35.98 kB / 1.007 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.391, allocations: 0.929 MB / 1.007 GB, free: 2.348 MB / 0.6511 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.005842/0.3969, allocations: 4.915 MB / 1.012 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.3982, allocations: 0.6435 MB / 1.013 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/0.399, allocations: 378.3 kB / 1.013 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.3996, allocations: 0.8277 MB / 1.014 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3996, allocations: 39.12 kB / 1.014 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.025e-06/0.3996, allocations: 4 kB / 1.014 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.004898/0.4045, allocations: 1.533 MB / 1.016 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4046, allocations: 55.97 kB / 1.016 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.4062, allocations: 1.206 MB / 1.017 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.4063, allocations: 45.7 kB / 1.017 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/0.4068, allocations: 0.5949 MB / 1.017 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.407, allocations: 220.8 kB / 1.018 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4071, allocations: 65.67 kB / 1.018 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4072, allocations: 337.9 kB / 1.018 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.4079, allocations: 301.8 kB / 1.018 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/0.4087, allocations: 0.5192 MB / 1.019 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.4101, allocations: 0.7472 MB / 1.02 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4102, allocations: 0 / 1.02 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004521/0.4147, allocations: 1.398 MB / 1.021 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.4148, allocations: 193 kB / 1.021 GB, free: 3.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4149, allocations: 4 kB / 1.021 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008173/0.4157, allocations: 160.7 kB / 1.021 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.4163, allocations: 163.8 kB / 1.021 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009165/0.4173, allocations: 0.7395 MB / 1.022 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4186, allocations: 171 kB / 1.022 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.4187, allocations: 31.98 kB / 1.022 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.4187, allocations: 4 kB / 1.022 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004584/0.4233, allocations: 1.246 MB / 1.024 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4234, allocations: 8.062 kB / 1.024 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.4239, allocations: 156.7 kB / 1.024 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.4245, allocations: 167.8 kB / 1.024 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008114/0.4253, allocations: 0.7279 MB / 1.025 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.4265, allocations: 163.8 kB / 1.025 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.4266, allocations: 35.97 kB / 1.025 GB, free: 15.77 MB / 0.6823 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.0006115/0.4272, allocations: 420.9 kB / 1.025 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.4274, allocations: 138.2 kB / 1.025 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.4319, allocations: 1.385 MB / 1.027 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4319, allocations: 7.984 kB / 1.027 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4319, allocations: 4 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003977/0.4359, allocations: 1.224 MB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/0.4398, allocations: 2.352 MB / 1.03 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4398, allocations: 4 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.4403, allocations: 115.9 kB / 1.03 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005575/0.4409, allocations: 161 kB / 1.03 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.4409, allocations: 19.98 kB / 1.03 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007898/0.4417, allocations: 0.7239 MB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4417, allocations: 7.938 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.4444, allocations: 1.466 MB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/0.445, allocations: 311.1 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.4451, allocations: 16 kB / 1.033 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008409/0.446, allocations: 95.88 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.4461, allocations: 60.19 kB / 1.033 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.4462, allocations: 27.98 kB / 1.033 GB, free: 6.969 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001188/0.4474, allocations: 0.8699 MB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4474, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001697/0.4491, allocations: 0.7018 MB / 1.035 GB, free: 5.395 MB / 0.6823 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.0008678/0.45, allocations: 448.1 kB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.4525, allocations: 1.172 MB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4525, allocations: 0 / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008989/0.4534, allocations: 419.2 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0038/0.4573, allocations: 0.8036 MB / 1.037 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.4612, allocations: 2.803 MB / 1.04 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.4619, allocations: 1.161 MB / 1.041 GB, free: 14.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003087/0.4622, allocations: 115.4 kB / 1.041 GB, free: 14.4 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/0.4622, allocations: 0 / 1.041 GB, free: 14.4 MB / 0.698 GB Notification: Performance of Templates: time 0.3949/0.8571, allocations: 30.73 MB / 1.071 GB, free: 141.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (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)