Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 108.5 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.001199/0.001199, allocations: 190.9 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7172/0.7172, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06366/0.3637, allocations: 75.18 MB / 0.631 GB, free: 9.211 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01975/0.3835, allocations: 15.16 MB / 0.6458 GB, free: 10 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.3858, allocations: 67.56 kB / 0.6459 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.388, allocations: 0.8306 MB / 0.6467 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006467/0.3945, allocations: 2.588 MB / 0.6492 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.3978, allocations: 1.4 MB / 0.6506 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005459/0.4033, allocations: 4.397 MB / 0.6549 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.4053, allocations: 1.453 MB / 0.6563 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.4088, allocations: 1.634 MB / 0.6579 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.4106, allocations: 1.214 MB / 0.6591 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000355/0.411, allocations: 164 kB / 0.6592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.4139, allocations: 1.404 MB / 0.6606 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004615/0.4144, allocations: 402.5 kB / 0.661 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.4156, allocations: 0.8982 MB / 0.6618 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004117/0.4197, allocations: 2.869 MB / 0.6646 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4197, allocations: 3.984 kB / 0.6646 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4198, allocations: 4 kB / 0.6646 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.417e-05/0.4198, allocations: 0 / 0.6646 GB, free: 6.629 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.004115/0.4239, allocations: 2.091 MB / 0.6667 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.424, allocations: 8.031 kB / 0.6667 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008562/0.4248, allocations: 226.8 kB / 0.6669 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/0.4277, allocations: 1.517 MB / 0.6684 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.4277, allocations: 85.88 kB / 0.6685 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.4279, allocations: 107.9 kB / 0.6686 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.43, allocations: 1.1 MB / 0.6697 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.43, allocations: 0 / 0.6697 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/0.4302, allocations: 36 kB / 0.6697 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.4302, allocations: 28 kB / 0.6697 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.4321, allocations: 0.8938 MB / 0.6706 GB, free: 404 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.006185/0.4383, allocations: 4.901 MB / 0.6754 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.4398, allocations: 0.6159 MB / 0.676 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.4405, allocations: 348.7 kB / 0.6763 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006375/0.4412, allocations: 0.8355 MB / 0.6771 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.4412, allocations: 39.12 kB / 0.6772 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/0.4412, allocations: 3.938 kB / 0.6772 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007114/0.4483, allocations: 1.685 MB / 0.6788 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.4484, allocations: 63.97 kB / 0.6789 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.4502, allocations: 1.222 MB / 0.6801 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.4503, allocations: 45.7 kB / 0.6801 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/0.4508, allocations: 0.6026 MB / 0.6807 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.4511, allocations: 216.9 kB / 0.6809 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.4513, allocations: 158.5 kB / 0.6811 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4514, allocations: 330 kB / 0.6814 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.4521, allocations: 288.7 kB / 0.6816 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008312/0.453, allocations: 0.4929 MB / 0.6821 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.4544, allocations: 0.7166 MB / 0.6828 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.4544, allocations: 8 kB / 0.6828 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004612/0.459, allocations: 1.269 MB / 0.6841 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.459, allocations: 6.188 kB / 0.6841 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4591, allocations: 4.375 kB / 0.6841 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005728/0.4596, allocations: 144.7 kB / 0.6842 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.4603, allocations: 159.7 kB / 0.6844 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008172/0.4611, allocations: 0.6977 MB / 0.6851 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4622, allocations: 111.1 kB / 0.6852 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.4623, allocations: 35.98 kB / 0.6852 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001083/0.4634, allocations: 0.5643 MB / 0.6857 GB, free: 128 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000825/0.4642, allocations: 488.8 kB / 0.6862 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001358/0.4656, allocations: 0.705 MB / 0.6869 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.4656, allocations: 4 kB / 0.6869 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004524/0.4701, allocations: 1.269 MB / 0.6881 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4701, allocations: 4 kB / 0.6881 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.4702, allocations: 4 kB / 0.6882 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/0.4707, allocations: 137.1 kB / 0.6883 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.4713, allocations: 171.6 kB / 0.6884 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007741/0.4721, allocations: 0.7025 MB / 0.6891 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.4732, allocations: 103.4 kB / 0.6892 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/0.4732, allocations: 31.98 kB / 0.6893 GB, free: 12.36 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002464/0.4735, allocations: 228.1 kB / 0.6895 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.4738, allocations: 134.3 kB / 0.6896 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00465/0.4785, allocations: 1.257 MB / 0.6908 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.4785, allocations: 11.98 kB / 0.6908 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4785, allocations: 4 kB / 0.6908 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004025/0.4826, allocations: 1.099 MB / 0.6919 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.4892, allocations: 2.618 MB / 0.6945 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.4892, allocations: 4 kB / 0.6945 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.4897, allocations: 115.7 kB / 0.6946 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/0.4902, allocations: 134.2 kB / 0.6947 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.4903, allocations: 19.98 kB / 0.6947 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/0.4951, allocations: 2.62 MB / 0.6973 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4952, allocations: 4 kB / 0.6973 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005146/0.5003, allocations: 1.699 MB / 0.699 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/0.501, allocations: 315 kB / 0.6993 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.5012, allocations: 20 kB / 0.6993 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000856/0.5021, allocations: 52 kB / 0.6993 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.5022, allocations: 64.22 kB / 0.6994 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.69e-05/0.5023, allocations: 31.98 kB / 0.6994 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001317/0.5036, allocations: 0.8857 MB / 0.7003 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5036, allocations: 0 / 0.7003 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001902/0.5055, allocations: 0.7175 MB / 0.701 GB, free: 15.93 MB / 0.545 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000899/0.5065, allocations: 470.1 kB / 0.7014 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002584/0.5091, allocations: 1.117 MB / 0.7025 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5091, allocations: 0 / 0.7025 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.5106, allocations: 0.5643 MB / 0.7031 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/0.5141, allocations: 0.7917 MB / 0.7039 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.5179, allocations: 2.27 MB / 0.7061 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008425/0.5188, allocations: 1.179 MB / 0.7072 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00109/0.5199, allocations: 310.9 kB / 0.7075 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.5201, allocations: 115.3 kB / 0.7076 GB, free: 9.051 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.5202, allocations: 0 / 0.7076 GB, free: 9.051 MB / 0.545 GB Notification: Performance of Templates: time 0.04897/0.5691, allocations: 32.21 MB / 0.7391 GB, free: 9.168 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)