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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(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.002323/0.002323, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002076/0.002076, allocations: 188.9 kB / 16.25 MB, free: 6.633 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.273/1.273, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 482.4 MB / 0.7544 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 67.88 kB / 0.9235 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2426, allocations: 162.2 MB / 1.082 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.07412/0.3167, allocations: 80.65 MB / 1.161 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02427/0.341, allocations: 19.17 MB / 1.179 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.3434, allocations: 103.4 kB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.346, allocations: 1.17 MB / 1.181 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.3514, allocations: 2.623 MB / 1.183 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.3556, allocations: 2.028 MB / 1.185 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005603/0.3612, allocations: 5.746 MB / 1.191 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.364, allocations: 2.632 MB / 1.193 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.3679, allocations: 2.382 MB / 1.196 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.3696, allocations: 1.738 MB / 1.197 GB, free: 6.867 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.3699, allocations: 307.9 kB / 1.198 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.3727, allocations: 1.72 MB / 1.199 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007016/0.3734, allocations: 0.7826 MB / 1.2 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.3747, allocations: 1.536 MB / 1.202 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004888/0.3796, allocations: 5.114 MB / 1.207 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3796, allocations: 4 kB / 1.207 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3796, allocations: 0 / 1.207 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.3796, allocations: 0 / 1.207 GB, free: 13.38 MB / 0.9669 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.004484/0.3841, allocations: 3.312 MB / 1.21 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3842, allocations: 8.031 kB / 1.21 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000357/0.3845, allocations: 276.5 kB / 1.21 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.3855, allocations: 384.2 kB / 1.21 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.3891, allocations: 2.614 MB / 1.213 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.3892, allocations: 143.5 kB / 1.213 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.3894, allocations: 180 kB / 1.213 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/0.3923, allocations: 1.846 MB / 1.215 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.3923, allocations: 0 / 1.215 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.3925, allocations: 79.97 kB / 1.215 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.3925, allocations: 44 kB / 1.215 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.395, allocations: 1.36 MB / 1.217 GB, free: 2.91 MB / 0.9669 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.008462/0.4034, allocations: 7.954 MB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.4052, allocations: 0.9091 MB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/0.4057, allocations: 339.9 kB / 1.226 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008174/0.4066, allocations: 1.16 MB / 1.227 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007143/0.4073, allocations: 402.9 kB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=66): time 2.465e-06/0.4073, allocations: 0 / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=66): time 0.001997/0.4093, allocations: 1.087 MB / 1.228 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.4094, allocations: 141 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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/Buildings 12.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.002385/0.4118, allocations: 2.08 MB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/0.4119, allocations: 45.7 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009333/0.4128, allocations: 1.199 MB / 1.232 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.413, allocations: 236.7 kB / 1.232 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.4133, allocations: 214.4 kB / 1.232 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4135, allocations: 345.9 kB / 1.232 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/0.4141, allocations: 341.8 kB / 1.233 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008973/0.415, allocations: 0.6723 MB / 1.233 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.4163, allocations: 0.9246 MB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4164, allocations: 11.88 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001934/0.4183, allocations: 1.206 MB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4183, allocations: 8 kB / 1.235 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4183, allocations: 8 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4184, allocations: 12 kB / 1.235 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.419, allocations: 220.1 kB / 1.236 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.4191, allocations: 15.94 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.4202, allocations: 202.7 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/0.4203, allocations: 47.98 kB / 1.236 GB, free: 14.14 MB / 0.9981 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.0007516/0.4211, allocations: 0.5771 MB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.4213, allocations: 213.3 kB / 1.237 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/0.4232, allocations: 1.029 MB / 1.238 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.4232, allocations: 19.92 kB / 1.238 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4232, allocations: 0 / 1.238 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/0.4245, allocations: 0.8124 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.4285, allocations: 2.885 MB / 1.241 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4285, allocations: 0 / 1.241 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/0.429, allocations: 131.9 kB / 1.241 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.429, allocations: 4 kB / 1.241 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.4291, allocations: 23.98 kB / 1.241 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.4291, allocations: 8.125 kB / 1.241 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4291, allocations: 7.984 kB / 1.241 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.4314, allocations: 1.484 MB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000533/0.4319, allocations: 398.3 kB / 1.243 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.4321, allocations: 24 kB / 1.243 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008413/0.433, allocations: 91.88 kB / 1.243 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.4331, allocations: 72.41 kB / 1.243 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.4332, allocations: 35.98 kB / 1.243 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001863/0.4351, allocations: 1.413 MB / 1.245 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4351, allocations: 0 / 1.245 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001397/0.4365, allocations: 0.6543 MB / 1.245 GB, free: 4.086 MB / 0.9981 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.005597/0.4421, allocations: 3.036 MB / 1.248 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.4439, allocations: 0.9449 MB / 1.249 GB, free: 392 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4439, allocations: 0 / 1.249 GB, free: 392 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.3597/0.8037, allocations: 405.6 kB / 1.25 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/0.8074, allocations: 0.9031 MB / 1.251 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/0.8372, allocations: 17.58 MB / 1.268 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009456/0.8382, allocations: 1.605 MB / 1.269 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001441/0.8396, allocations: 404.4 kB / 1.27 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009804/0.8406, allocations: 1.009 MB / 1.271 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.8406, allocations: 0 / 1.271 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.678/8.519, allocations: 56.26 MB / 1.326 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/8.519, allocations: 273.3 kB / 1.326 GB, free: 122.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/16.09, allocations: 1.75 kB / 1.326 GB, free: 122.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D_fmu --startTime=0 --stopTime=14365 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)