Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="BuildingSystems_BuildingSystems_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.00173/0.00173, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002668/0.002668, allocations: 287 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.058/1.058, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 103.6 kB / 0.6065 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.161, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.3836/0.5446, allocations: 81.24 MB / 0.7729 GB, free: 24.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02605/0.5707, allocations: 19.48 MB / 0.792 GB, free: 22.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006186/0.577, allocations: 103.2 kB / 0.7921 GB, free: 22.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004827/0.5819, allocations: 1.337 MB / 0.7934 GB, free: 21.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.5923, allocations: 2.837 MB / 0.7961 GB, free: 20.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007761/0.6, allocations: 2.212 MB / 0.7983 GB, free: 19.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009353/0.6094, allocations: 5.725 MB / 0.8039 GB, free: 16.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.6135, allocations: 2.653 MB / 0.8065 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0051/0.6186, allocations: 2.178 MB / 0.8086 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003131/0.6218, allocations: 1.71 MB / 0.8103 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007237/0.6225, allocations: 307.2 kB / 0.8106 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004841/0.6273, allocations: 1.713 MB / 0.8122 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.6284, allocations: 0.7831 MB / 0.813 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.6305, allocations: 1.526 MB / 0.8145 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007048/0.6376, allocations: 5.096 MB / 0.8195 GB, free: 8.121 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6376, allocations: 0 / 0.8195 GB, free: 8.121 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6376, allocations: 0 / 0.8195 GB, free: 8.121 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.994e-05/0.6377, allocations: 1.344 kB / 0.8195 GB, free: 8.121 MB / 0.545 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.00565/0.6434, allocations: 3.313 MB / 0.8227 GB, free: 5.637 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.6434, allocations: 10.25 kB / 0.8227 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003338/0.6438, allocations: 273.1 kB / 0.823 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.645, allocations: 391.5 kB / 0.8234 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/0.6488, allocations: 2.55 MB / 0.8258 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.6489, allocations: 140.7 kB / 0.826 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.6491, allocations: 190.5 kB / 0.8262 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.6519, allocations: 1.847 MB / 0.828 GB, free: 2.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.652, allocations: 3.938 kB / 0.828 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.6521, allocations: 75.06 kB / 0.828 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/0.6522, allocations: 43.75 kB / 0.8281 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002249/0.6544, allocations: 1.361 MB / 0.8294 GB, free: 1.328 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.01069/0.6651, allocations: 8.005 MB / 0.8372 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.6672, allocations: 0.9268 MB / 0.8381 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.6678, allocations: 337.7 kB / 0.8385 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009991/0.6688, allocations: 1.158 MB / 0.8396 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008172/0.6697, allocations: 405.9 kB / 0.84 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.925e-06/0.6697, allocations: 4 kB / 0.84 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002655/0.6723, allocations: 1.08 MB / 0.841 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.6725, allocations: 144 kB / 0.8412 GB, free: 7.699 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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.00326/0.6757, allocations: 2.097 MB / 0.8432 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.6759, allocations: 46.27 kB / 0.8433 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.6772, allocations: 1.2 MB / 0.8444 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.6775, allocations: 235 kB / 0.8447 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.6778, allocations: 226.4 kB / 0.8449 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.678, allocations: 338 kB / 0.8452 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.6787, allocations: 337.8 kB / 0.8455 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.6798, allocations: 0.6723 MB / 0.8462 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.6815, allocations: 0.9292 MB / 0.8471 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6815, allocations: 4 kB / 0.8471 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002966/0.6845, allocations: 1.206 MB / 0.8483 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.6845, allocations: 8 kB / 0.8483 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.6845, allocations: 4 kB / 0.8483 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.6846, allocations: 16.53 kB / 0.8483 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/0.6853, allocations: 219.6 kB / 0.8485 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/0.6854, allocations: 23.86 kB / 0.8485 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.687, allocations: 158.7 kB / 0.8487 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/0.6871, allocations: 44 kB / 0.8487 GB, free: 0.7695 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.001256/0.6884, allocations: 0.5703 MB / 0.8493 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/0.689, allocations: 213.4 kB / 0.8495 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.6912, allocations: 1.031 MB / 0.8505 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.6913, allocations: 12 kB / 0.8505 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.6913, allocations: 3.938 kB / 0.8505 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/0.6928, allocations: 0.8085 MB / 0.8513 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.6981, allocations: 2.902 MB / 0.8541 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.6981, allocations: 0 / 0.8541 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/0.6987, allocations: 127.9 kB / 0.8542 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.6987, allocations: 4 kB / 0.8542 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.6988, allocations: 31.97 kB / 0.8543 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.6988, allocations: 4 kB / 0.8543 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6988, allocations: 4.125 kB / 0.8543 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.7015, allocations: 1.477 MB / 0.8557 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007723/0.7023, allocations: 406.2 kB / 0.8561 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.7026, allocations: 27.94 kB / 0.8561 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/0.7035, allocations: 51.94 kB / 0.8562 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.7036, allocations: 64.42 kB / 0.8562 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.7037, allocations: 35.97 kB / 0.8563 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00216/0.7058, allocations: 1.424 MB / 0.8577 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.7059, allocations: 0 / 0.8577 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001874/0.7077, allocations: 0.6582 MB / 0.8583 GB, free: 6.77 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.0064/0.7141, allocations: 3.065 MB / 0.8613 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.7164, allocations: 0.9455 MB / 0.8622 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.7164, allocations: 0 / 0.8622 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007603/0.7172, allocations: 405 kB / 0.8626 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/0.7214, allocations: 0.9048 MB / 0.8635 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/0.7475, allocations: 16.74 MB / 0.8798 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.749, allocations: 1.599 MB / 0.8814 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001629/0.7507, allocations: 423 kB / 0.8818 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.752, allocations: 1.01 MB / 0.8828 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/0.7521, allocations: 4 kB / 0.8828 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.865, allocations: 56.89 MB / 0.9384 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.871/9.736, allocations: 14.84 kB / 0.9384 GB, free: 4.488 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)