Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.75/2.75, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001596/0.001596, allocations: 184.5 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.111/2.111, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001166/0.001166, allocations: 100.3 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004811, allocations: 15.69 kB / 0.8656 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.09386/0.3063, allocations: 63 MB / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0277/0.3341, allocations: 12.89 MB / 1.052 GB, free: 296 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.3367, allocations: 51.62 kB / 1.052 GB, free: 244 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.3407, allocations: 0.7462 MB / 1.053 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.3512, allocations: 2.35 MB / 1.055 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007216/0.3585, allocations: 1.534 MB / 1.057 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00663/0.3651, allocations: 2.491 MB / 1.059 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002731/0.3679, allocations: 1.029 MB / 1.06 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.3719, allocations: 1.16 MB / 1.061 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.3742, allocations: 0.7895 MB / 1.062 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.3747, allocations: 56 kB / 1.062 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.3785, allocations: 0.8542 MB / 1.063 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005974/0.3791, allocations: 266.9 kB / 1.063 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000792/0.3799, allocations: 356.9 kB / 1.064 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.3846, allocations: 2.026 MB / 1.066 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3847, allocations: 0 / 1.066 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.567e-06/0.3847, allocations: 4 kB / 1.066 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.307e-05/0.3848, allocations: 0 / 1.066 GB, free: 2.559 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.005748/0.3906, allocations: 1.787 MB / 1.067 GB, free: 0.707 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3906, allocations: 8.031 kB / 1.067 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.3921, allocations: 237.9 kB / 1.068 GB, free: 476 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6127/1.005, allocations: 1.373 MB / 1.069 GB, free: 91.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/1.005, allocations: 78.09 kB / 1.069 GB, free: 91.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/1.005, allocations: 103.7 kB / 1.069 GB, free: 91.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/1.009, allocations: 1.109 MB / 1.07 GB, free: 90.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/1.009, allocations: 5.219 kB / 1.07 GB, free: 90.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/1.009, allocations: 37.28 kB / 1.07 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.564e-05/1.009, allocations: 29.73 kB / 1.07 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/1.013, allocations: 0.9267 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.01096/1.024, allocations: 4.967 MB / 1.076 GB, free: 87.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/1.027, allocations: 0.6597 MB / 1.077 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/1.028, allocations: 0.8263 MB / 1.078 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/1.028, allocations: 39.69 kB / 1.078 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 3.206e-06/1.028, allocations: 0 / 1.078 GB, free: 85.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.01448/1.042, allocations: 1.515 MB / 1.079 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.042, allocations: 62.61 kB / 1.079 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/1.046, allocations: 1.248 MB / 1.08 GB, free: 84.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002412/1.046, allocations: 39.89 kB / 1.08 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007586/1.047, allocations: 0.5991 MB / 1.081 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/1.047, allocations: 219.2 kB / 1.081 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/1.047, allocations: 16.44 kB / 1.081 GB, free: 84.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/1.047, allocations: 333.4 kB / 1.081 GB, free: 83.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.049, allocations: 297.7 kB / 1.082 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/1.05, allocations: 0.5061 MB / 1.082 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/1.052, allocations: 360.4 kB / 1.083 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.052, allocations: 3.719 kB / 1.083 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009187/1.061, allocations: 1.39 MB / 1.084 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003035/1.061, allocations: 1.33 MB / 1.085 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.061, allocations: 3.719 kB / 1.085 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/1.062, allocations: 164 kB / 1.085 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/1.064, allocations: 164.2 kB / 1.086 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/1.065, allocations: 0.7283 MB / 1.086 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/1.068, allocations: 175.3 kB / 1.086 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/1.068, allocations: 35.33 kB / 1.087 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.068, allocations: 4.406 kB / 1.087 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008403/1.076, allocations: 1.248 MB / 1.088 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.076, allocations: 5.625 kB / 1.088 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.077, allocations: 162.6 kB / 1.088 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.079, allocations: 162.9 kB / 1.088 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/1.08, allocations: 0.7343 MB / 1.089 GB, free: 79.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/1.082, allocations: 167.4 kB / 1.089 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/1.083, allocations: 30.19 kB / 1.089 GB, free: 79.86 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 (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.001001/1.084, allocations: 416.4 kB / 1.089 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005088/1.084, allocations: 133.2 kB / 1.089 GB, free: 79.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008696/1.093, allocations: 1.396 MB / 1.091 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/1.093, allocations: 7.75 kB / 1.091 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.093, allocations: 2.031 kB / 1.091 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007827/1.101, allocations: 1.217 MB / 1.092 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007235/1.108, allocations: 2.374 MB / 1.094 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.108, allocations: 4.25 kB / 1.094 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.109, allocations: 121.3 kB / 1.094 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/1.11, allocations: 154.1 kB / 1.095 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.11, allocations: 23.03 kB / 1.095 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/1.112, allocations: 0.7191 MB / 1.095 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/1.112, allocations: 4.094 kB / 1.095 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005119/1.117, allocations: 1.669 MB / 1.097 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.118, allocations: 346.7 kB / 1.097 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/1.118, allocations: 18.94 kB / 1.097 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.12, allocations: 96.55 kB / 1.097 GB, free: 75.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002452/1.121, allocations: 51.02 kB / 1.097 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/1.121, allocations: 33.89 kB / 1.097 GB, free: 75.42 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002126/1.123, allocations: 0.898 MB / 1.098 GB, free: 75.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.02e-07/1.123, allocations: 1.25 kB / 1.098 GB, free: 75.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003113/1.126, allocations: 0.7074 MB / 1.099 GB, free: 74.93 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/1.127, allocations: 471.9 kB / 1.1 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004756/1.132, allocations: 1.167 MB / 1.101 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.132, allocations: 128 / 1.101 GB, free: 74.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.134, allocations: 412.2 kB / 1.101 GB, free: 74.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007677/1.142, allocations: 0.7595 MB / 1.102 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/1.149, allocations: 2.769 MB / 1.104 GB, free: 72.47 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/1.15, allocations: 1.2 MB / 1.106 GB, free: 71.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002374/1.152, allocations: 314.6 kB / 1.106 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/1.153, allocations: 107.6 kB / 1.106 GB, free: 71.52 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/1.153, allocations: 0 / 1.106 GB, free: 71.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.07513/1.228, allocations: 30.17 MB / 1.136 GB, free: 49.63 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)