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.001385/0.001385, allocations: 109.7 kB / 16.41 MB, free: 6.5 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.001352/0.001352, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.424/1.424, allocations: 222.9 MB / 241.1 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.838/0.838, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 66.33 kB / 0.5736 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1629, allocations: 78.86 MB / 0.6506 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.084/0.247, allocations: 81.38 MB / 0.7301 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4198/0.6668, allocations: 19.48 MB / 0.7491 GB, free: 19.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005181/0.672, allocations: 102.7 kB / 0.7492 GB, free: 19.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.6765, allocations: 1.325 MB / 0.7505 GB, free: 19.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008998/0.6856, allocations: 2.835 MB / 0.7533 GB, free: 19.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006231/0.6918, allocations: 2.226 MB / 0.7554 GB, free: 19.5 MB / 0.5762 GB [/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. [/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. Notification: Performance of NFFlatten.flatten: time 0.0115/0.7033, allocations: 5.723 MB / 0.761 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00514/0.7085, allocations: 2.642 MB / 0.7636 GB, free: 19.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007597/0.7162, allocations: 2.396 MB / 0.7659 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004387/0.7206, allocations: 1.696 MB / 0.7676 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.7217, allocations: 310.3 kB / 0.7679 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005526/0.7272, allocations: 1.703 MB / 0.7695 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.7284, allocations: 0.7782 MB / 0.7703 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.7311, allocations: 1.534 MB / 0.7718 GB, free: 18.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009137/0.7402, allocations: 5.183 MB / 0.7769 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.7403, allocations: 0 / 0.7769 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.514e-06/0.7403, allocations: 1 kB / 0.7769 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001416/0.7404, allocations: 0 / 0.7769 GB, free: 17.49 MB / 0.5762 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.007222/0.7477, allocations: 3.41 MB / 0.7802 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.7477, allocations: 13.62 kB / 0.7802 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004313/0.7482, allocations: 274.2 kB / 0.7805 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.7496, allocations: 399.8 kB / 0.7809 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004821/0.7544, allocations: 2.656 MB / 0.7834 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.7546, allocations: 141.9 kB / 0.7836 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/0.7548, allocations: 189.1 kB / 0.7838 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/0.758, allocations: 1.847 MB / 0.7856 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.7581, allocations: 9.25 kB / 0.7856 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.7582, allocations: 74.06 kB / 0.7856 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.7583, allocations: 44.47 kB / 0.7857 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.7606, allocations: 1.363 MB / 0.787 GB, free: 14.08 MB / 0.5762 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.008624/0.7692, allocations: 7.942 MB / 0.7948 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.771, allocations: 0.9106 MB / 0.7957 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.7715, allocations: 343.1 kB / 0.796 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/0.7721, allocations: 1.156 MB / 0.7971 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007342/0.7728, allocations: 414.8 kB / 0.7975 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=66): time 2.515e-06/0.7728, allocations: 0 / 0.7975 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66): time 0.002479/0.7753, allocations: 1.087 MB / 0.7986 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.7754, allocations: 145.1 kB / 0.7987 GB, free: 4.578 MB / 0.5762 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.003158/0.7786, allocations: 2.093 MB / 0.8008 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.7787, allocations: 52.55 kB / 0.8008 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009541/0.7797, allocations: 1.215 MB / 0.802 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.78, allocations: 247.4 kB / 0.8022 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.7802, allocations: 219.8 kB / 0.8024 GB, free: 2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.7803, allocations: 346.3 kB / 0.8028 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.7809, allocations: 339 kB / 0.8031 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007703/0.7817, allocations: 0.6698 MB / 0.8038 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.7829, allocations: 0.9296 MB / 0.8047 GB, free: 300 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7829, allocations: 3.062 kB / 0.8047 GB, free: 300 kB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002372/0.7853, allocations: 1.216 MB / 0.8058 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.7853, allocations: 14.38 kB / 0.8059 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.7854, allocations: 8.094 kB / 0.8059 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.7854, allocations: 17.36 kB / 0.8059 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.7861, allocations: 208 kB / 0.8061 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.7861, allocations: 19.89 kB / 0.8061 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.7877, allocations: 153.8 kB / 0.8063 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.7878, allocations: 47.92 kB / 0.8063 GB, free: 15.59 MB / 0.5919 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.001236/0.789, allocations: 0.5813 MB / 0.8069 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004978/0.7895, allocations: 226.1 kB / 0.8071 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.7916, allocations: 1.031 MB / 0.8081 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.7916, allocations: 9.031 kB / 0.8081 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7917, allocations: 0 / 0.8081 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001376/0.793, allocations: 0.8151 MB / 0.8089 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005521/0.7986, allocations: 2.9 MB / 0.8117 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.7986, allocations: 7 kB / 0.8117 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.7992, allocations: 130 kB / 0.8119 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.7992, allocations: 4 kB / 0.8119 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.7993, allocations: 27.98 kB / 0.8119 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.7993, allocations: 7.984 kB / 0.8119 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7993, allocations: 2.906 kB / 0.8119 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.8024, allocations: 1.494 MB / 0.8134 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.8036, allocations: 411.5 kB / 0.8137 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/0.8039, allocations: 28 kB / 0.8138 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008741/0.8048, allocations: 51.88 kB / 0.8138 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.805, allocations: 60.14 kB / 0.8139 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.068e-05/0.8051, allocations: 39.97 kB / 0.8139 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002404/0.8075, allocations: 1.428 MB / 0.8153 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.144e-06/0.8075, allocations: 0 / 0.8153 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00219/0.8097, allocations: 0.6698 MB / 0.816 GB, free: 7.824 MB / 0.5919 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.006722/0.8164, allocations: 3.062 MB / 0.819 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.8185, allocations: 0.8382 MB / 0.8198 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.8185, allocations: 4 kB / 0.8198 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.8193, allocations: 405.4 kB / 0.8202 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/0.8243, allocations: 0.9093 MB / 0.8211 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0262/0.8505, allocations: 14.72 MB / 0.8354 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.8521, allocations: 1.598 MB / 0.837 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001657/0.8538, allocations: 396.4 kB / 0.8374 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.8553, allocations: 1.01 MB / 0.8384 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of SimCode: time 1.392e-06/0.8553, allocations: 0 / 0.8384 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.9683, allocations: 57.61 MB / 0.8946 GB, free: 8.055 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.44, allocations: 8.062 kB / 0.8946 GB, free: 8.047 MB / 0.67 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)