Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.771/1.771, allocations: 288.4 MB / 303.4 MB, free: 8.184 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.001007/0.001007, allocations: 185.8 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007407/0.0007407, allocations: 86.36 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006567/0.0006568, allocations: 11.66 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2044, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05477/0.2592, allocations: 69.46 MB / 1.047 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.2769, allocations: 14.08 MB / 1.061 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002048/0.279, allocations: 55.62 kB / 1.061 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.2806, allocations: 0.5627 MB / 1.062 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005839/0.2865, allocations: 1.971 MB / 1.064 GB, free: 5.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003041/0.2895, allocations: 0.9836 MB / 1.065 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4353/0.7248, allocations: 4.762 MB / 1.069 GB, free: 33.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.7272, allocations: 1.02 MB / 1.07 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.7305, allocations: 1.279 MB / 1.072 GB, free: 33.89 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.7333, allocations: 1.089 MB / 1.073 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003563/0.7337, allocations: 56.62 kB / 1.073 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.7374, allocations: 0.9374 MB / 1.074 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.7378, allocations: 271.4 kB / 1.074 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.7389, allocations: 362.1 kB / 1.074 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.7428, allocations: 2.094 MB / 1.076 GB, free: 33.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7428, allocations: 0 / 1.076 GB, free: 33.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7428, allocations: 3.812 kB / 1.076 GB, free: 33.78 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.658e-05/0.7429, allocations: 0 / 1.076 GB, free: 33.78 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.004563/0.7474, allocations: 1.802 MB / 1.078 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7475, allocations: 9.094 kB / 1.078 GB, free: 32.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.7486, allocations: 244.5 kB / 1.078 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.7517, allocations: 1.44 MB / 1.08 GB, free: 32.35 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.7518, allocations: 80.09 kB / 1.08 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.752, allocations: 100.5 kB / 1.08 GB, free: 32.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.7545, allocations: 1.115 MB / 1.081 GB, free: 32.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.7545, allocations: 0.5312 kB / 1.081 GB, free: 32.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.7547, allocations: 44.39 kB / 1.081 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/0.7547, allocations: 29.42 kB / 1.081 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.7571, allocations: 0.9277 MB / 1.082 GB, free: 32.19 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.007237/0.7643, allocations: 4.923 MB / 1.087 GB, free: 30 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.7658, allocations: 0.6407 MB / 1.087 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/0.7666, allocations: 372.8 kB / 1.088 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005092/0.7671, allocations: 0.8269 MB / 1.088 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.7671, allocations: 41.12 kB / 1.089 GB, free: 28.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.886e-06/0.7671, allocations: 4 kB / 1.089 GB, free: 28.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.005197/0.7724, allocations: 1.516 MB / 1.09 GB, free: 28.72 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.7724, allocations: 63.05 kB / 1.09 GB, free: 28.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.7742, allocations: 1.194 MB / 1.091 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.7744, allocations: 45.23 kB / 1.091 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.7749, allocations: 0.5995 MB / 1.092 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.7751, allocations: 219 kB / 1.092 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.7752, allocations: 14.88 kB / 1.092 GB, free: 28.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.7752, allocations: 333.1 kB / 1.092 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/0.7759, allocations: 300.2 kB / 1.093 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.7767, allocations: 0.5044 MB / 1.093 GB, free: 27.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.7774, allocations: 367.2 kB / 1.094 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7774, allocations: 1.344 kB / 1.094 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004691/0.7821, allocations: 1.382 MB / 1.095 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.948e-05/0.7822, allocations: 195.7 kB / 1.095 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7822, allocations: 3 kB / 1.095 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006651/0.7829, allocations: 163.1 kB / 1.095 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.7836, allocations: 165.8 kB / 1.095 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000736/0.7843, allocations: 0.7296 MB / 1.096 GB, free: 26.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.7858, allocations: 175.1 kB / 1.096 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/0.7859, allocations: 30.41 kB / 1.096 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.7859, allocations: 2.812 kB / 1.096 GB, free: 26.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00438/0.7903, allocations: 1.247 MB / 1.098 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.7904, allocations: 3.906 kB / 1.098 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/0.7909, allocations: 162.5 kB / 1.098 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.7916, allocations: 168 kB / 1.098 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007185/0.7923, allocations: 0.724 MB / 1.099 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.7938, allocations: 166.1 kB / 1.099 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.7939, allocations: 35.05 kB / 1.099 GB, free: 25.99 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.0007855/0.7947, allocations: 415.1 kB / 1.099 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.795, allocations: 135.8 kB / 1.099 GB, free: 25.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/0.7998, allocations: 1.4 MB / 1.101 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.7999, allocations: 7.469 kB / 1.101 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.7999, allocations: 0 / 1.101 GB, free: 25.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004083/0.804, allocations: 1.223 MB / 1.102 GB, free: 25.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.8081, allocations: 2.354 MB / 1.104 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.8081, allocations: 3.375 kB / 1.104 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.8086, allocations: 118 kB / 1.104 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005155/0.8091, allocations: 160.6 kB / 1.104 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.8092, allocations: 20.17 kB / 1.104 GB, free: 24.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006371/0.8098, allocations: 0.7147 MB / 1.105 GB, free: 24.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.8098, allocations: 10.39 kB / 1.105 GB, free: 24.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.8122, allocations: 1.448 MB / 1.107 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000596/0.8128, allocations: 341.6 kB / 1.107 GB, free: 23.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.813, allocations: 22.7 kB / 1.107 GB, free: 23.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008884/0.8139, allocations: 89.12 kB / 1.107 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/0.814, allocations: 53.19 kB / 1.107 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.814, allocations: 31.95 kB / 1.107 GB, free: 23.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001114/0.8152, allocations: 0.8589 MB / 1.108 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8152, allocations: 0 / 1.108 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001798/0.817, allocations: 0.7052 MB / 1.109 GB, free: 23.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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007958/0.8178, allocations: 436 kB / 1.109 GB, free: 23.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.8202, allocations: 1.163 MB / 1.11 GB, free: 23.38 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.8202, allocations: 4.141 kB / 1.11 GB, free: 23.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008623/0.8211, allocations: 416.5 kB / 1.111 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/0.8246, allocations: 0.7621 MB / 1.111 GB, free: 23.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.8285, allocations: 2.775 MB / 1.114 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.8291, allocations: 1.172 MB / 1.115 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001479/0.8305, allocations: 318.3 kB / 1.115 GB, free: 21.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.8308, allocations: 105.9 kB / 1.116 GB, free: 21.07 MB / 0.6823 GB Notification: Performance of SimCode: time 2.815e-06/0.8308, allocations: 0 / 1.116 GB, free: 21.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.0432/0.874, allocations: 29.52 MB / 1.144 GB, free: 5.574 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)