Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001036/0.001036, allocations: 107.3 kB / 17.03 MB, free: 5.656 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.0009612/0.0009613, allocations: 192.1 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6727/0.6727, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3338, allocations: 76.15 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.0621/0.396, allocations: 75.18 MB / 0.631 GB, free: 9.199 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02113/0.4172, allocations: 15.17 MB / 0.6458 GB, free: 9.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.4197, allocations: 71.56 kB / 0.6459 GB, free: 9.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.4219, allocations: 0.8267 MB / 0.6467 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006518/0.4285, allocations: 2.596 MB / 0.6492 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.4318, allocations: 1.389 MB / 0.6505 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005843/0.4377, allocations: 4.4 MB / 0.6548 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.4396, allocations: 1.439 MB / 0.6563 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.4433, allocations: 1.643 MB / 0.6579 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.4451, allocations: 1.217 MB / 0.659 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.4453, allocations: 164 kB / 0.6592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.4481, allocations: 1.419 MB / 0.6606 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.4485, allocations: 402.5 kB / 0.661 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.4496, allocations: 0.906 MB / 0.6619 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003728/0.4533, allocations: 2.886 MB / 0.6647 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4533, allocations: 0 / 0.6647 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4533, allocations: 0 / 0.6647 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.4533, allocations: 0 / 0.6647 GB, free: 6.582 MB / 0.4981 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.00344/0.4568, allocations: 2.095 MB / 0.6667 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.4568, allocations: 12.03 kB / 0.6667 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007428/0.4576, allocations: 230.8 kB / 0.667 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.4599, allocations: 1.529 MB / 0.6684 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.46, allocations: 77.94 kB / 0.6685 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.4602, allocations: 100 kB / 0.6686 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.462, allocations: 1.104 MB / 0.6697 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.4621, allocations: 0 / 0.6697 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.4621, allocations: 36 kB / 0.6697 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.4622, allocations: 27.94 kB / 0.6698 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.4639, allocations: 0.8939 MB / 0.6706 GB, free: 340 kB / 0.4981 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.005974/0.4699, allocations: 4.909 MB / 0.6754 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.4713, allocations: 0.6232 MB / 0.676 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.4719, allocations: 358.8 kB / 0.6764 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006029/0.4725, allocations: 0.8199 MB / 0.6772 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4726, allocations: 51.12 kB / 0.6772 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.455e-06/0.4726, allocations: 0 / 0.6772 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.004531/0.4771, allocations: 1.401 MB / 0.6786 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.4772, allocations: 67.95 kB / 0.6787 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.4787, allocations: 1.226 MB / 0.6799 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.4788, allocations: 41.7 kB / 0.6799 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.4793, allocations: 0.5987 MB / 0.6805 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.4795, allocations: 216.9 kB / 0.6807 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.4797, allocations: 154.5 kB / 0.6808 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4798, allocations: 334 kB / 0.6811 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.4805, allocations: 292.7 kB / 0.6814 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.4812, allocations: 0.4888 MB / 0.6819 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.4825, allocations: 0.708 MB / 0.6826 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4825, allocations: 4 kB / 0.6826 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004208/0.4867, allocations: 1.277 MB / 0.6838 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4868, allocations: 4 kB / 0.6838 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4868, allocations: 4 kB / 0.6839 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/0.4874, allocations: 155.7 kB / 0.684 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.488, allocations: 159.7 kB / 0.6842 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007591/0.4888, allocations: 0.7123 MB / 0.6848 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/0.4897, allocations: 119 kB / 0.685 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.4898, allocations: 35.98 kB / 0.685 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009825/0.4908, allocations: 0.5527 MB / 0.6855 GB, free: 328 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007482/0.4915, allocations: 495.8 kB / 0.686 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/0.4928, allocations: 0.6965 MB / 0.6867 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.438e-06/0.4928, allocations: 4 kB / 0.6867 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004094/0.4969, allocations: 1.258 MB / 0.6879 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.497, allocations: 8 kB / 0.6879 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.497, allocations: 4 kB / 0.6879 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/0.4975, allocations: 148.8 kB / 0.6881 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.4981, allocations: 155.8 kB / 0.6882 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007549/0.4988, allocations: 0.7233 MB / 0.6889 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.4998, allocations: 103.4 kB / 0.689 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/0.4998, allocations: 31.98 kB / 0.6891 GB, free: 12.55 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.5001, allocations: 230.3 kB / 0.6893 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.5003, allocations: 134.3 kB / 0.6894 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004115/0.5044, allocations: 1.259 MB / 0.6906 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.5044, allocations: 7.984 kB / 0.6906 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5044, allocations: 0 / 0.6906 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003567/0.508, allocations: 1.096 MB / 0.6917 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.5117, allocations: 2.317 MB / 0.694 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5117, allocations: 0 / 0.694 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.5122, allocations: 115.9 kB / 0.6941 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000518/0.5127, allocations: 149.2 kB / 0.6942 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.5127, allocations: 20 kB / 0.6942 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006993/0.5135, allocations: 0.7045 MB / 0.6949 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5135, allocations: 7.938 kB / 0.6949 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.5159, allocations: 1.395 MB / 0.6963 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.5164, allocations: 307.2 kB / 0.6966 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.5166, allocations: 20 kB / 0.6966 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.5173, allocations: 56 kB / 0.6967 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.975e-05/0.5174, allocations: 52.25 kB / 0.6967 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.5175, allocations: 35.97 kB / 0.6968 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001104/0.5186, allocations: 0.8818 MB / 0.6976 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5186, allocations: 0 / 0.6976 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001603/0.5202, allocations: 0.7096 MB / 0.6983 GB, free: 2.793 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008062/0.5211, allocations: 475.3 kB / 0.6988 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.5236, allocations: 1.129 MB / 0.6999 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5236, allocations: 0 / 0.6999 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.5245, allocations: 399.2 kB / 0.7002 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/0.5276, allocations: 0.7953 MB / 0.701 GB, free: 48 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.5312, allocations: 2.279 MB / 0.7032 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.532, allocations: 1.176 MB / 0.7044 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001032/0.533, allocations: 309.5 kB / 0.7047 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.5333, allocations: 111.3 kB / 0.7048 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.426e-06/0.5333, allocations: 0 / 0.7048 GB, free: 12.07 MB / 0.545 GB Notification: Performance of Templates: time 0.04861/0.5819, allocations: 32.01 MB / 0.7361 GB, free: 12.38 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)