Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.619/2.619, allocations: 287.3 MB / 302.3 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 190.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 80.77 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004959, allocations: 16.34 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.09084/0.3136, allocations: 63.02 MB / 1.04 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02778/0.3414, allocations: 12.87 MB / 1.052 GB, free: 328 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.3439, allocations: 51.62 kB / 1.052 GB, free: 276 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003715/0.3477, allocations: 0.7462 MB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.3581, allocations: 2.352 MB / 1.055 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007049/0.3652, allocations: 1.533 MB / 1.057 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006651/0.3718, allocations: 2.491 MB / 1.059 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.3745, allocations: 1.029 MB / 1.06 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003727/0.3783, allocations: 1.164 MB / 1.061 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.3805, allocations: 0.7895 MB / 1.062 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003759/0.3809, allocations: 52 kB / 1.062 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.3847, allocations: 0.8386 MB / 1.063 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006234/0.3854, allocations: 262.9 kB / 1.063 GB, free: 5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009119/0.3863, allocations: 356.9 kB / 1.064 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.3911, allocations: 2.015 MB / 1.066 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3912, allocations: 0 / 1.066 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3912, allocations: 3.938 kB / 1.066 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.429e-05/0.3912, allocations: 0 / 1.066 GB, free: 2.621 MB / 0.6823 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.005522/0.3968, allocations: 1.787 MB / 1.067 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3968, allocations: 8.031 kB / 1.067 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.3983, allocations: 241.9 kB / 1.068 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6382/1.037, allocations: 1.353 MB / 1.069 GB, free: 91.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/1.037, allocations: 74.91 kB / 1.069 GB, free: 91.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/1.037, allocations: 102.8 kB / 1.069 GB, free: 91.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/1.041, allocations: 1.106 MB / 1.07 GB, free: 90.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.486e-05/1.041, allocations: 5.031 kB / 1.07 GB, free: 90.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/1.041, allocations: 41.66 kB / 1.07 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/1.042, allocations: 29.66 kB / 1.07 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/1.045, allocations: 0.9201 MB / 1.071 GB, free: 90.52 MB / 0.6823 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.01119/1.057, allocations: 4.967 MB / 1.076 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/1.061, allocations: 0.6414 MB / 1.077 GB, free: 86.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008082/1.062, allocations: 0.8234 MB / 1.077 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/1.062, allocations: 43.64 kB / 1.077 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.246e-06/1.062, allocations: 0 / 1.077 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.01491/1.077, allocations: 1.886 MB / 1.079 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.077, allocations: 63.45 kB / 1.079 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/1.08, allocations: 1.238 MB / 1.081 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/1.08, allocations: 43.48 kB / 1.081 GB, free: 84.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/1.081, allocations: 0.603 MB / 1.081 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/1.081, allocations: 214.8 kB / 1.081 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.09e-05/1.082, allocations: 18.72 kB / 1.081 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/1.082, allocations: 333.1 kB / 1.082 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/1.083, allocations: 295.2 kB / 1.082 GB, free: 83.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/1.085, allocations: 0.5035 MB / 1.083 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/1.086, allocations: 355.4 kB / 1.083 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.086, allocations: 1.094 kB / 1.083 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009523/1.096, allocations: 1.398 MB / 1.084 GB, free: 83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003349/1.096, allocations: 1.433 MB / 1.086 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.096, allocations: 3.5 kB / 1.086 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.097, allocations: 142.2 kB / 1.086 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.099, allocations: 166 kB / 1.086 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/1.1, allocations: 0.7123 MB / 1.087 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/1.103, allocations: 183 kB / 1.087 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/1.103, allocations: 31.67 kB / 1.087 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.103, allocations: 3.312 kB / 1.087 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008621/1.111, allocations: 1.254 MB / 1.088 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.112, allocations: 4.125 kB / 1.088 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008948/1.112, allocations: 146.9 kB / 1.088 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.114, allocations: 166.2 kB / 1.088 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/1.115, allocations: 0.7095 MB / 1.089 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.117, allocations: 172.8 kB / 1.089 GB, free: 79.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/1.118, allocations: 30.59 kB / 1.089 GB, free: 79.76 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001035/1.119, allocations: 420.7 kB / 1.09 GB, free: 79.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/1.119, allocations: 134.9 kB / 1.09 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008923/1.128, allocations: 1.407 MB / 1.091 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/1.128, allocations: 7.203 kB / 1.091 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.128, allocations: 1.062 kB / 1.091 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008194/1.136, allocations: 1.236 MB / 1.092 GB, free: 78.53 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.149, allocations: 2.747 MB / 1.095 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.149, allocations: 4.781 kB / 1.095 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.15, allocations: 117.3 kB / 1.095 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009171/1.151, allocations: 151.5 kB / 1.095 GB, free: 77.28 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.151, allocations: 19.09 kB / 1.095 GB, free: 77.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008638/1.16, allocations: 2.561 MB / 1.098 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/1.16, allocations: 3 kB / 1.098 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.17, allocations: 2.058 MB / 1.1 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.172, allocations: 342.6 kB / 1.1 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003616/1.172, allocations: 18.44 kB / 1.1 GB, free: 74.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.174, allocations: 103.2 kB / 1.1 GB, free: 74.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/1.174, allocations: 59 kB / 1.1 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.174, allocations: 30.86 kB / 1.1 GB, free: 74.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002176/1.177, allocations: 0.8917 MB / 1.101 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.92e-07/1.177, allocations: 0 / 1.101 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003561/1.18, allocations: 0.7238 MB / 1.102 GB, free: 73.56 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 (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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001317/1.182, allocations: 453.8 kB / 1.102 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004801/1.186, allocations: 1.151 MB / 1.104 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/1.187, allocations: 5.531 kB / 1.104 GB, free: 73.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/1.189, allocations: 0.5976 MB / 1.104 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006429/1.196, allocations: 0.7671 MB / 1.105 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/1.202, allocations: 2.751 MB / 1.108 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008888/1.203, allocations: 1.209 MB / 1.109 GB, free: 69.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002191/1.205, allocations: 310.4 kB / 1.109 GB, free: 69.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/1.206, allocations: 103 kB / 1.109 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/1.206, allocations: 0 / 1.109 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.07369/1.279, allocations: 30.33 MB / 1.139 GB, free: 46.24 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)