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.001587/0.001587, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001574/0.001574, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002592/0.002592, allocations: 294.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 98.44 kB / 0.606 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1491, allocations: 89.14 MB / 0.6931 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.3632/0.5123, allocations: 80.47 MB / 0.7717 GB, free: 24.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02284/0.5352, allocations: 19.16 MB / 0.7904 GB, free: 22.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003816/0.539, allocations: 97.72 kB / 0.7905 GB, free: 22.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.5426, allocations: 1.176 MB / 0.7916 GB, free: 21.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007345/0.5499, allocations: 2.637 MB / 0.7942 GB, free: 20.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005301/0.5553, allocations: 2.037 MB / 0.7962 GB, free: 19.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007222/0.5625, allocations: 5.745 MB / 0.8018 GB, free: 17.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004139/0.5666, allocations: 2.633 MB / 0.8044 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005149/0.5718, allocations: 2.211 MB / 0.8065 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002956/0.5748, allocations: 1.762 MB / 0.8083 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008692/0.5757, allocations: 305.8 kB / 0.8085 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.58, allocations: 1.726 MB / 0.8102 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009442/0.581, allocations: 0.7814 MB / 0.811 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.5833, allocations: 1.534 MB / 0.8125 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006558/0.5899, allocations: 5.098 MB / 0.8175 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5899, allocations: 10.34 kB / 0.8175 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5899, allocations: 0 / 0.8175 GB, free: 8.988 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001351/0.5901, allocations: 0 / 0.8175 GB, free: 8.988 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.006468/0.5965, allocations: 3.308 MB / 0.8207 GB, free: 6.508 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5966, allocations: 10.12 kB / 0.8207 GB, free: 6.508 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004428/0.597, allocations: 276.8 kB / 0.821 GB, free: 6.293 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.5983, allocations: 391.3 kB / 0.8214 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/0.6019, allocations: 2.583 MB / 0.8239 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.602, allocations: 148.5 kB / 0.824 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.6022, allocations: 194.4 kB / 0.8242 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.6049, allocations: 1.85 MB / 0.826 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.6049, allocations: 0 / 0.826 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.6051, allocations: 77.42 kB / 0.8261 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.6051, allocations: 47.22 kB / 0.8261 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.6072, allocations: 1.359 MB / 0.8275 GB, free: 2.164 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.008691/0.6159, allocations: 7.953 MB / 0.8352 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.6178, allocations: 0.9173 MB / 0.8361 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.6184, allocations: 338.2 kB / 0.8364 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009734/0.6194, allocations: 1.161 MB / 0.8376 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.6202, allocations: 403.2 kB / 0.838 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.985e-06/0.6202, allocations: 4 kB / 0.838 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002223/0.6224, allocations: 1.086 MB / 0.839 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.6225, allocations: 148.7 kB / 0.8392 GB, free: 8.566 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.002591/0.6251, allocations: 2.073 MB / 0.8412 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.283e-05/0.6252, allocations: 52.56 kB / 0.8412 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.6263, allocations: 1.192 MB / 0.8424 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.6266, allocations: 239.2 kB / 0.8426 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.6269, allocations: 221.8 kB / 0.8428 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6271, allocations: 343.4 kB / 0.8432 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006721/0.6277, allocations: 331.9 kB / 0.8435 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/0.6287, allocations: 0.6724 MB / 0.8441 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.6303, allocations: 0.9369 MB / 0.8451 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.6303, allocations: 4 kB / 0.8451 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002215/0.6325, allocations: 1.206 MB / 0.8462 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.6326, allocations: 8 kB / 0.8463 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6326, allocations: 8 kB / 0.8463 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.6326, allocations: 12.53 kB / 0.8463 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.6333, allocations: 219.6 kB / 0.8465 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.6334, allocations: 15.94 kB / 0.8465 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6348, allocations: 204.9 kB / 0.8467 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.6349, allocations: 47.92 kB / 0.8467 GB, free: 1.844 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.0008885/0.6358, allocations: 0.5679 MB / 0.8473 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.6361, allocations: 217.4 kB / 0.8475 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.6382, allocations: 1.033 MB / 0.8485 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.6383, allocations: 4 kB / 0.8485 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6383, allocations: 3.938 kB / 0.8485 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001516/0.6398, allocations: 0.8202 MB / 0.8493 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.6447, allocations: 2.882 MB / 0.8521 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6447, allocations: 0 / 0.8521 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.6453, allocations: 131.8 kB / 0.8523 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.6453, allocations: 8.188 kB / 0.8523 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.261e-05/0.6454, allocations: 27.98 kB / 0.8523 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.6454, allocations: 4 kB / 0.8523 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6454, allocations: 0 / 0.8523 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.6481, allocations: 1.484 MB / 0.8537 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007425/0.6488, allocations: 402.2 kB / 0.8541 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.6491, allocations: 31.98 kB / 0.8542 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009747/0.6501, allocations: 91.81 kB / 0.8542 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.6503, allocations: 64.36 kB / 0.8543 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.6504, allocations: 35.97 kB / 0.8543 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002177/0.6526, allocations: 1.413 MB / 0.8557 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6526, allocations: 0 / 0.8557 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001845/0.6544, allocations: 0.6504 MB / 0.8564 GB, free: 7.832 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.006427/0.6609, allocations: 3.035 MB / 0.8593 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.663, allocations: 0.9454 MB / 0.8602 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.663, allocations: 3.938 kB / 0.8602 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007569/0.6638, allocations: 399 kB / 0.8606 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/0.6677, allocations: 0.9116 MB / 0.8615 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/0.7067, allocations: 17.59 MB / 0.8787 GB, free: 64 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.7083, allocations: 1.607 MB / 0.8803 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001562/0.7099, allocations: 403 kB / 0.8807 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/0.7114, allocations: 1.011 MB / 0.8816 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/0.7114, allocations: 0 / 0.8816 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.813, allocations: 56.23 MB / 0.9366 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003363/0.8133, allocations: 274.8 kB / 0.9368 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/3.973, allocations: 4 kB / 0.9368 GB, free: 5.059 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_TableData2D_fmu --startTime=0 --stopTime=14365 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)