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 1.679/1.679, allocations: 287.5 MB / 302.6 MB, free: 8.312 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.0009944/0.0009944, allocations: 178.2 kB / 371.2 MB, free: 10.78 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.38/1.38, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0009252/0.0009255, allocations: 96.78 kB / 0.7432 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 11.91 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1734, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06047/0.2339, allocations: 69.48 MB / 1.047 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.2532, allocations: 14.08 MB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.2556, allocations: 55.62 kB / 1.06 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.2578, allocations: 0.5627 MB / 1.061 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005865/0.2637, allocations: 1.971 MB / 1.063 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.2668, allocations: 0.978 MB / 1.064 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006299/0.2731, allocations: 4.815 MB / 1.068 GB, free: 44 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4254/0.6985, allocations: 1.12 MB / 1.07 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.7016, allocations: 1.281 MB / 1.071 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.7039, allocations: 1.094 MB / 1.072 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.7041, allocations: 55.19 kB / 1.072 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.7071, allocations: 0.9374 MB / 1.073 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.7075, allocations: 268.7 kB / 1.073 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006125/0.7082, allocations: 363 kB / 1.073 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.7119, allocations: 2.087 MB / 1.075 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7119, allocations: 0 / 1.075 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7119, allocations: 3 kB / 1.075 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.412e-05/0.712, allocations: 4 kB / 1.075 GB, free: 33.34 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.004152/0.7161, allocations: 1.786 MB / 1.077 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7162, allocations: 12.78 kB / 1.077 GB, free: 32.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008745/0.7171, allocations: 241.9 kB / 1.077 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.7198, allocations: 1.495 MB / 1.079 GB, free: 31.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/0.7199, allocations: 75.34 kB / 1.079 GB, free: 31.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.7201, allocations: 103.1 kB / 1.079 GB, free: 31.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.7226, allocations: 1.115 MB / 1.08 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.7227, allocations: 5.406 kB / 1.08 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.7228, allocations: 37.38 kB / 1.08 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.7228, allocations: 27.66 kB / 1.08 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.7251, allocations: 0.9285 MB / 1.081 GB, free: 31.7 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.006536/0.7317, allocations: 4.923 MB / 1.086 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.7332, allocations: 0.6404 MB / 1.087 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/0.7339, allocations: 372.5 kB / 1.087 GB, free: 29.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/0.7345, allocations: 0.8294 MB / 1.088 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.7345, allocations: 46.59 kB / 1.088 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 2.685e-06/0.7346, allocations: 0 / 1.088 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.005004/0.7396, allocations: 1.52 MB / 1.089 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.7396, allocations: 67.41 kB / 1.089 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.7414, allocations: 1.2 MB / 1.091 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/0.7415, allocations: 40.61 kB / 1.091 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004325/0.7419, allocations: 0.5942 MB / 1.091 GB, free: 27.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.7422, allocations: 219 kB / 1.091 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.7422, allocations: 12.38 kB / 1.091 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.7423, allocations: 337.5 kB / 1.092 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006668/0.7429, allocations: 295.2 kB / 1.092 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008255/0.7438, allocations: 0.5041 MB / 1.092 GB, free: 27.08 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.7452, allocations: 0.7365 MB / 1.093 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.7453, allocations: 1.438 kB / 1.093 GB, free: 26.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00489/0.7502, allocations: 1.39 MB / 1.095 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/0.7503, allocations: 194.9 kB / 1.095 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.7503, allocations: 3.469 kB / 1.095 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007493/0.751, allocations: 175 kB / 1.095 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/0.7517, allocations: 158.2 kB / 1.095 GB, free: 26.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008326/0.7526, allocations: 0.7259 MB / 1.096 GB, free: 26.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.7542, allocations: 169.7 kB / 1.096 GB, free: 26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.7543, allocations: 37.19 kB / 1.096 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.7543, allocations: 8.25 kB / 1.096 GB, free: 25.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004595/0.7589, allocations: 1.241 MB / 1.097 GB, free: 25.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.7589, allocations: 3.172 kB / 1.097 GB, free: 25.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.7595, allocations: 169.3 kB / 1.097 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.7602, allocations: 159 kB / 1.097 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000766/0.7609, allocations: 0.7289 MB / 1.098 GB, free: 25.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.7624, allocations: 166.5 kB / 1.098 GB, free: 25.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/0.7625, allocations: 35.52 kB / 1.098 GB, free: 25.34 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.0008013/0.7633, allocations: 423.8 kB / 1.099 GB, free: 25.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.7636, allocations: 132.4 kB / 1.099 GB, free: 25.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/0.7681, allocations: 1.393 MB / 1.1 GB, free: 24.94 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.7681, allocations: 10.27 kB / 1.1 GB, free: 24.94 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7681, allocations: 0 / 1.1 GB, free: 24.94 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003989/0.7721, allocations: 1.216 MB / 1.101 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/0.7766, allocations: 2.347 MB / 1.104 GB, free: 24.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.7766, allocations: 5.875 kB / 1.104 GB, free: 24.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.7771, allocations: 122 kB / 1.104 GB, free: 24.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000588/0.7777, allocations: 154.8 kB / 1.104 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.7778, allocations: 18.56 kB / 1.104 GB, free: 24.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006948/0.7785, allocations: 0.7207 MB / 1.105 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7785, allocations: 7.812 kB / 1.105 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.7812, allocations: 1.457 MB / 1.106 GB, free: 23.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/0.7819, allocations: 334.8 kB / 1.107 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.7821, allocations: 19.36 kB / 1.107 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/0.7831, allocations: 90.16 kB / 1.107 GB, free: 23.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.7832, allocations: 55.52 kB / 1.107 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.7833, allocations: 36.05 kB / 1.107 GB, free: 23.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001233/0.7845, allocations: 0.8583 MB / 1.108 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7845, allocations: 0 / 1.108 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002214/0.7867, allocations: 0.7016 MB / 1.108 GB, free: 22.92 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.0009019/0.7876, allocations: 442.2 kB / 1.109 GB, free: 22.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.7905, allocations: 1.161 MB / 1.11 GB, free: 22.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.7905, allocations: 4.781 kB / 1.11 GB, free: 22.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.7915, allocations: 415.9 kB / 1.11 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004668/0.7962, allocations: 0.7864 MB / 1.111 GB, free: 22.65 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.8008, allocations: 2.791 MB / 1.114 GB, free: 21.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006946/0.8015, allocations: 1.174 MB / 1.115 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001529/0.8031, allocations: 308.7 kB / 1.115 GB, free: 20.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.8034, allocations: 114.7 kB / 1.115 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/0.8034, allocations: 4 kB / 1.115 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of Templates: time 0.04685/0.8503, allocations: 31.25 MB / 1.146 GB, free: 3.996 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)