Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_latest_Buildings_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.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 124 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.001221/0.001221, allocations: 195.6 kB / 16.54 MB, free: 6.668 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 469.4 MB / 0.742 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.48 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.1113/0.4526, allocations: 81.28 MB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04139/0.494, allocations: 19.5 MB / 1.162 GB, free: 9.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005164/0.4992, allocations: 103.4 kB / 1.162 GB, free: 9.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00471/0.504, allocations: 1.328 MB / 1.163 GB, free: 7.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.5146, allocations: 2.831 MB / 1.166 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0071/0.5217, allocations: 2.216 MB / 1.168 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009114/0.5308, allocations: 5.712 MB / 1.174 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00533/0.5362, allocations: 2.64 MB / 1.177 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005803/0.542, allocations: 2.198 MB / 1.179 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.546, allocations: 1.703 MB / 1.18 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.5474, allocations: 308 kB / 1.181 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005008/0.5524, allocations: 1.7 MB / 1.182 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001445/0.5539, allocations: 0.7787 MB / 1.183 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003066/0.5569, allocations: 1.536 MB / 1.185 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007401/0.5644, allocations: 5.091 MB / 1.19 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5644, allocations: 7.875 kB / 1.19 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5644, allocations: 4 kB / 1.19 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.116e-05/0.5645, allocations: 0 / 1.19 GB, free: 13.14 MB / 0.9512 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.005884/0.5704, allocations: 3.309 MB / 1.193 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.5705, allocations: 12.03 kB / 1.193 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004407/0.5709, allocations: 272.5 kB / 1.193 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.5721, allocations: 384.2 kB / 1.193 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/0.5765, allocations: 2.561 MB / 1.196 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.5767, allocations: 143.5 kB / 1.196 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.5769, allocations: 188 kB / 1.196 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/0.5801, allocations: 1.85 MB / 1.198 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.5801, allocations: 3.906 kB / 1.198 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.5803, allocations: 72 kB / 1.198 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.472e-05/0.5803, allocations: 48 kB / 1.198 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.583, allocations: 1.36 MB / 1.2 GB, free: 2.711 MB / 0.9512 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.01067/0.5937, allocations: 8.009 MB / 1.207 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.5957, allocations: 0.8993 MB / 1.208 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.5963, allocations: 338.3 kB / 1.209 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008992/0.5972, allocations: 1.156 MB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008189/0.5981, allocations: 407 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 3.146e-06/0.5981, allocations: 0 / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.002619/0.6007, allocations: 1.082 MB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.6008, allocations: 149 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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/Buildings 11.0.1-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.002957/0.6038, allocations: 2.099 MB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.6039, allocations: 49.69 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.605, allocations: 1.199 MB / 1.215 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.6052, allocations: 236.7 kB / 1.215 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.6056, allocations: 214.4 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6057, allocations: 345.9 kB / 1.215 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.6063, allocations: 333.8 kB / 1.216 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.6073, allocations: 0.6685 MB / 1.216 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.6087, allocations: 0.9325 MB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.6087, allocations: 8 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002438/0.6112, allocations: 1.21 MB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.6112, allocations: 8 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6112, allocations: 8 kB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.6113, allocations: 12 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.612, allocations: 215.6 kB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.612, allocations: 16.31 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.6132, allocations: 158.7 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.6133, allocations: 43.98 kB / 1.219 GB, free: 13.91 MB / 0.9825 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.0009799/0.6143, allocations: 0.5812 MB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.6147, allocations: 209.4 kB / 1.22 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.6166, allocations: 1.019 MB / 1.221 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.6166, allocations: 11.94 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6166, allocations: 0 / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/0.618, allocations: 0.8202 MB / 1.221 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.6225, allocations: 2.901 MB / 1.224 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6225, allocations: 0 / 1.224 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.6231, allocations: 136 kB / 1.224 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.6231, allocations: 4 kB / 1.224 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.6232, allocations: 31.98 kB / 1.224 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.6232, allocations: 4 kB / 1.224 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6232, allocations: 4 kB / 1.224 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.6258, allocations: 1.477 MB / 1.226 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/0.6265, allocations: 406.2 kB / 1.226 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/0.6267, allocations: 24 kB / 1.226 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/0.6276, allocations: 55.94 kB / 1.226 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.6277, allocations: 60.42 kB / 1.226 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.942e-05/0.6278, allocations: 35.97 kB / 1.226 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002026/0.6298, allocations: 1.428 MB / 1.228 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6298, allocations: 7.938 kB / 1.228 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001743/0.6316, allocations: 0.6544 MB / 1.228 GB, free: 3.879 MB / 0.9825 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.005217/0.6368, allocations: 3.049 MB / 1.231 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.6391, allocations: 0.945 MB / 1.232 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6391, allocations: 0 / 1.232 GB, free: 168 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.6399, allocations: 404.3 kB / 1.233 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/0.6442, allocations: 0.9023 MB / 1.234 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.543/1.187, allocations: 16.75 MB / 1.25 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/1.189, allocations: 1.604 MB / 1.252 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001807/1.19, allocations: 405.7 kB / 1.252 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.192, allocations: 1.01 MB / 1.253 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.192, allocations: 0 / 1.253 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/1.306, allocations: 56.88 MB / 1.308 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.343/10.65, allocations: 22.05 kB / 1.308 GB, free: 146.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.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 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)