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.001318/0.001318, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00165/0.00165, allocations: 177.3 kB / 15.94 MB, free: 228 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.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.448/1.448, allocations: 251.9 MB / 0.51 GB, free: 4.844 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.0005021/0.0005023, allocations: 15.75 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.535, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07241/0.6075, allocations: 63.02 MB / 0.7895 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.6266, allocations: 12.85 MB / 0.802 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.6293, allocations: 55.62 kB / 0.8021 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.6326, allocations: 0.7462 MB / 0.8028 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008488/0.6411, allocations: 2.355 MB / 0.8051 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.6462, allocations: 1.444 MB / 0.8065 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005986/0.6522, allocations: 2.479 MB / 0.809 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.6543, allocations: 1.025 MB / 0.81 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003352/0.6577, allocations: 1.168 MB / 0.8111 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.6599, allocations: 0.7895 MB / 0.8119 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000251/0.6602, allocations: 56 kB / 0.8119 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.6631, allocations: 0.8504 MB / 0.8128 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.6635, allocations: 266.9 kB / 0.813 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006946/0.6642, allocations: 356.9 kB / 0.8134 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.6673, allocations: 2.007 MB / 0.8153 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6673, allocations: 0 / 0.8153 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6673, allocations: 0 / 0.8153 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.088e-05/0.6674, allocations: 0 / 0.8153 GB, free: 1.801 MB / 0.6231 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.004108/0.6715, allocations: 1.795 MB / 0.8171 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6716, allocations: 8.031 kB / 0.8171 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008807/0.6724, allocations: 245.8 kB / 0.8173 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/0.675, allocations: 1.373 MB / 0.8186 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.6751, allocations: 74 kB / 0.8187 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.6753, allocations: 104 kB / 0.8188 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.6775, allocations: 1.096 MB / 0.8199 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.6775, allocations: 3.938 kB / 0.8199 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/0.6776, allocations: 36 kB / 0.8199 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.6776, allocations: 39.88 kB / 0.82 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.6796, allocations: 0.9251 MB / 0.8209 GB, free: 11.95 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.006756/0.6864, allocations: 4.958 MB / 0.8257 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.6879, allocations: 0.6586 MB / 0.8264 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007165/0.6886, allocations: 0.8238 MB / 0.8272 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.6887, allocations: 43.12 kB / 0.8272 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=62): time 3.427e-06/0.6887, allocations: 0 / 0.8272 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=62): time 0.005031/0.6937, allocations: 1.515 MB / 0.8287 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.6938, allocations: 55.97 kB / 0.8287 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.6957, allocations: 1.253 MB / 0.83 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.6958, allocations: 41.7 kB / 0.83 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/0.6963, allocations: 0.5988 MB / 0.8306 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.6965, allocations: 212.9 kB / 0.8308 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.6966, allocations: 16 kB / 0.8308 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6967, allocations: 337.9 kB / 0.8311 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/0.6974, allocations: 293.8 kB / 0.8314 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/0.6982, allocations: 0.4998 MB / 0.8319 GB, free: 24 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.699, allocations: 367.1 kB / 0.8322 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.699, allocations: 4 kB / 0.8322 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004584/0.7036, allocations: 1.386 MB / 0.8336 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005461/0.7041, allocations: 1.335 MB / 0.8349 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.7042, allocations: 8 kB / 0.8349 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.7049, allocations: 160.7 kB / 0.8351 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.7055, allocations: 163.8 kB / 0.8352 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008684/0.7064, allocations: 0.7202 MB / 0.8359 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.7079, allocations: 183 kB / 0.8361 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.925e-05/0.7081, allocations: 31.98 kB / 0.8361 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.7081, allocations: 4 kB / 0.8361 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004384/0.7125, allocations: 1.246 MB / 0.8373 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.7125, allocations: 11.94 kB / 0.8374 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.7131, allocations: 160.9 kB / 0.8375 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.7138, allocations: 163.8 kB / 0.8377 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008713/0.7147, allocations: 0.7201 MB / 0.8384 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.7161, allocations: 171.2 kB / 0.8385 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.7162, allocations: 31.98 kB / 0.8386 GB, free: 9.023 MB / 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.0006918/0.7169, allocations: 412.9 kB / 0.839 GB, free: 8.609 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.7171, allocations: 138.3 kB / 0.8391 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004559/0.7217, allocations: 1.392 MB / 0.8404 GB, free: 7.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.7217, allocations: 12 kB / 0.8405 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7217, allocations: 0 / 0.8405 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/0.7258, allocations: 1.217 MB / 0.8416 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/0.7307, allocations: 2.368 MB / 0.844 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7307, allocations: 4 kB / 0.844 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.7312, allocations: 120.2 kB / 0.8441 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005897/0.7318, allocations: 168.6 kB / 0.8442 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.7318, allocations: 16 kB / 0.8443 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007917/0.7326, allocations: 0.7201 MB / 0.845 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7327, allocations: 4 kB / 0.845 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002923/0.7356, allocations: 1.664 MB / 0.8466 GB, free: 400 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007037/0.7363, allocations: 347 kB / 0.8469 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.7365, allocations: 19.95 kB / 0.8469 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/0.7374, allocations: 99.38 kB / 0.847 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.7375, allocations: 52.36 kB / 0.8471 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.7375, allocations: 31.92 kB / 0.8471 GB, free: 15.84 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001264/0.7388, allocations: 0.905 MB / 0.848 GB, free: 14.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7388, allocations: 0 / 0.848 GB, free: 14.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002035/0.7409, allocations: 0.7135 MB / 0.8487 GB, free: 14.21 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.0008968/0.7418, allocations: 458.6 kB / 0.8491 GB, free: 13.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002835/0.7446, allocations: 1.164 MB / 0.8503 GB, free: 12.61 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7446, allocations: 4.125 kB / 0.8503 GB, free: 12.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009244/0.7456, allocations: 411.2 kB / 0.8507 GB, free: 12.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/0.749, allocations: 0.7555 MB / 0.8514 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.7533, allocations: 2.768 MB / 0.8541 GB, free: 8.617 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.7541, allocations: 1.203 MB / 0.8553 GB, free: 7.383 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001216/0.7553, allocations: 303.1 kB / 0.8556 GB, free: 7.082 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.7555, allocations: 103.4 kB / 0.8557 GB, free: 6.98 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/0.7555, allocations: 3.938 kB / 0.8557 GB, free: 6.977 MB / 0.67 GB Notification: Performance of Templates: time 0.04725/0.8028, allocations: 30.05 MB / 0.885 GB, free: 9.309 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: