Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 103.6 kB / 16.27 MB, free: 5.895 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.001343/0.001344, allocations: 183.9 kB / 17.19 MB, free: 5.539 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.465/1.465, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8066/0.8066, allocations: 126.7 MB / 417.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 0.4959 GB, free: 2.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3934, allocations: 78.85 MB / 0.5729 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.08301/0.4765, allocations: 81.38 MB / 0.6523 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03363/0.5101, allocations: 19.5 MB / 0.6714 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006117/0.5163, allocations: 103.4 kB / 0.6715 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.005161/0.5216, allocations: 1.328 MB / 0.6728 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.5318, allocations: 2.836 MB / 0.6755 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006598/0.5385, allocations: 2.205 MB / 0.6777 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009841/0.5483, allocations: 5.713 MB / 0.6833 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004629/0.553, allocations: 2.643 MB / 0.6858 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007238/0.5602, allocations: 2.383 MB / 0.6882 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004438/0.5647, allocations: 1.688 MB / 0.6898 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009332/0.5657, allocations: 311.9 kB / 0.6901 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.5704, allocations: 1.685 MB / 0.6918 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.5715, allocations: 0.7827 MB / 0.6925 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.5738, allocations: 1.536 MB / 0.694 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009063/0.5829, allocations: 5.098 MB / 0.699 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5829, allocations: 4 kB / 0.699 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.583, allocations: 0 / 0.699 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001086/0.5831, allocations: 3.984 kB / 0.699 GB, free: 4.316 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.007687/0.5908, allocations: 3.313 MB / 0.7023 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.5908, allocations: 8.031 kB / 0.7023 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00044/0.5913, allocations: 268.5 kB / 0.7025 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.5926, allocations: 388.2 kB / 0.7029 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004904/0.5975, allocations: 2.57 MB / 0.7054 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.5977, allocations: 139.5 kB / 0.7055 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/0.598, allocations: 180 kB / 0.7057 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/0.6016, allocations: 1.85 MB / 0.7075 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.6017, allocations: 0 / 0.7075 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.6018, allocations: 75.94 kB / 0.7076 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-05/0.6019, allocations: 55.98 kB / 0.7076 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/0.6048, allocations: 1.356 MB / 0.709 GB, free: 9.887 MB / 0.545 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.0125/0.6174, allocations: 8.009 MB / 0.7168 GB, free: 1.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.6195, allocations: 0.9108 MB / 0.7177 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.6201, allocations: 337.9 kB / 0.718 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.6212, allocations: 1.156 MB / 0.7191 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008433/0.6221, allocations: 407 kB / 0.7195 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 5.34e-06/0.6221, allocations: 0 / 0.7195 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002696/0.6248, allocations: 1.098 MB / 0.7206 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.6249, allocations: 137.1 kB / 0.7207 GB, free: 13.11 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.6282, allocations: 2.095 MB / 0.7228 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.6283, allocations: 49.7 kB / 0.7228 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.6296, allocations: 1.195 MB / 0.724 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.6299, allocations: 240.7 kB / 0.7242 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/0.6302, allocations: 214.4 kB / 0.7244 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6304, allocations: 341.9 kB / 0.7247 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.6311, allocations: 337.8 kB / 0.7251 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.6321, allocations: 0.6684 MB / 0.7257 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.6338, allocations: 0.9363 MB / 0.7266 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6338, allocations: 0 / 0.7266 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00258/0.6364, allocations: 1.206 MB / 0.7278 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.6364, allocations: 8 kB / 0.7278 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6364, allocations: 11.94 kB / 0.7278 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.6365, allocations: 12 kB / 0.7278 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.6372, allocations: 216.1 kB / 0.728 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.6373, allocations: 19.98 kB / 0.7281 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.6386, allocations: 151.7 kB / 0.7282 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.725e-05/0.6386, allocations: 47.98 kB / 0.7282 GB, free: 5.082 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001097/0.6398, allocations: 0.5689 MB / 0.7288 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.6401, allocations: 217.3 kB / 0.729 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.6423, allocations: 1.037 MB / 0.73 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.6423, allocations: 11.98 kB / 0.73 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6423, allocations: 0 / 0.73 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/0.6438, allocations: 0.8124 MB / 0.7308 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/0.6487, allocations: 2.897 MB / 0.7337 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.6488, allocations: 4 kB / 0.7337 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.6493, allocations: 136 kB / 0.7338 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.6494, allocations: 7.938 kB / 0.7338 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.6494, allocations: 23.98 kB / 0.7338 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.6494, allocations: 4 kB / 0.7338 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6495, allocations: 4 kB / 0.7338 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002834/0.6523, allocations: 1.488 MB / 0.7353 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/0.6531, allocations: 402.3 kB / 0.7357 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.6533, allocations: 28.11 kB / 0.7357 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/0.6542, allocations: 51.95 kB / 0.7357 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6543, allocations: 64.41 kB / 0.7358 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.6544, allocations: 31.98 kB / 0.7358 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002271/0.6567, allocations: 1.436 MB / 0.7372 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6567, allocations: 0 / 0.7372 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001865/0.6586, allocations: 0.6543 MB / 0.7379 GB, free: 11.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006405/0.665, allocations: 3.05 MB / 0.7408 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.6673, allocations: 0.9409 MB / 0.7418 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.6673, allocations: 4 kB / 0.7418 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007825/0.6681, allocations: 404.3 kB / 0.7422 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/0.6725, allocations: 0.9201 MB / 0.7431 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3028/0.9753, allocations: 16.73 MB / 0.7594 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.9766, allocations: 1.601 MB / 0.761 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001674/0.9783, allocations: 400.4 kB / 0.7613 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.9794, allocations: 1.018 MB / 0.7623 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/0.9794, allocations: 5.188 kB / 0.7623 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0972/1.077, allocations: 56.89 MB / 0.8179 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.461/10.54, allocations: 13.66 kB / 0.8179 GB, free: 107.1 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.csv --start-time 0 --stop-time 14365 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.746 IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)