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: translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 110.4 kB / 17.08 MB, free: 4.988 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.001479/0.001479, allocations: 203 kB / 18.05 MB, free: 4.312 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.389/1.389, allocations: 225.6 MB / 244.5 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002559/0.002559, allocations: 290 kB / 297.6 MB, free: 11.31 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.255/1.255, allocations: 180.9 MB / 0.519 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 102.4 kB / 0.7167 GB, free: 39.86 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1891, allocations: 94.15 MB / 0.8086 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.0941/0.2832, allocations: 81.84 MB / 0.8885 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03203/0.3152, allocations: 19.57 MB / 0.9076 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004947/0.3202, allocations: 103.5 kB / 0.9077 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004338/0.3245, allocations: 1.379 MB / 0.9091 GB, free: 15.15 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009174/0.3337, allocations: 2.98 MB / 0.912 GB, free: 12.16 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006466/0.3401, allocations: 2.269 MB / 0.9142 GB, free: 9.91 MB / 0.67 GB [/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. [/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. Notification: Performance of NFFlatten.flatten: time 0.009138/0.3493, allocations: 5.742 MB / 0.9198 GB, free: 4.152 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003823/0.3531, allocations: 2.109 MB / 0.9219 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.3586, allocations: 2.264 MB / 0.9241 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.362, allocations: 1.799 MB / 0.9259 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006139/0.3626, allocations: 308 kB / 0.9261 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.367, allocations: 1.739 MB / 0.9278 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.3679, allocations: 0.8058 MB / 0.9286 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.37, allocations: 1.528 MB / 0.9301 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008518/0.3786, allocations: 5.154 MB / 0.9352 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3786, allocations: 3.938 kB / 0.9352 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3786, allocations: 0 / 0.9352 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.603e-05/0.3787, allocations: 0 / 0.9352 GB, free: 4.367 MB / 0.6856 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.006405/0.3851, allocations: 3.395 MB / 0.9385 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3851, allocations: 12.03 kB / 0.9385 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.3863, allocations: 393.9 kB / 0.9389 GB, free: 488 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/0.3911, allocations: 2.642 MB / 0.9414 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.3913, allocations: 139.5 kB / 0.9416 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.3915, allocations: 183.9 kB / 0.9417 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003311/0.3948, allocations: 1.833 MB / 0.9435 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.3949, allocations: 0 / 0.9435 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.395, allocations: 71.98 kB / 0.9436 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.3951, allocations: 51.94 kB / 0.9437 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.3978, allocations: 1.344 MB / 0.945 GB, free: 10.08 MB / 0.7012 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.01157/0.4093, allocations: 7.92 MB / 0.9527 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.4114, allocations: 0.8586 MB / 0.9535 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/0.4121, allocations: 314.3 kB / 0.9538 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.4132, allocations: 1.16 MB / 0.955 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008849/0.414, allocations: 406.9 kB / 0.9554 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=66): time 2.815e-06/0.4141, allocations: 0 / 0.9554 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=66): time 0.002741/0.4168, allocations: 1.095 MB / 0.9564 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.4169, allocations: 137.1 kB / 0.9566 GB, free: 13.46 MB / 0.7169 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.003438/0.4203, allocations: 2.075 MB / 0.9586 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.4205, allocations: 49.7 kB / 0.9586 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.4218, allocations: 1.205 MB / 0.9598 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.4221, allocations: 250 kB / 0.9601 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.4224, allocations: 210.5 kB / 0.9603 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4226, allocations: 353.8 kB / 0.9606 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.4233, allocations: 341.8 kB / 0.9609 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.4244, allocations: 0.662 MB / 0.9616 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.426, allocations: 0.9363 MB / 0.9625 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.426, allocations: 0 / 0.9625 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002584/0.4286, allocations: 1.219 MB / 0.9637 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4286, allocations: 8 kB / 0.9637 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4286, allocations: 15.97 kB / 0.9637 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.4287, allocations: 19.94 kB / 0.9637 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.4294, allocations: 207.7 kB / 0.9639 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.4294, allocations: 15.94 kB / 0.9639 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4308, allocations: 155.1 kB / 0.9641 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.4309, allocations: 44 kB / 0.9641 GB, free: 5.43 MB / 0.7169 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.001109/0.432, allocations: 0.5721 MB / 0.9647 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004104/0.4324, allocations: 226.5 kB / 0.9649 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.4346, allocations: 1.055 MB / 0.9659 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.4346, allocations: 8 kB / 0.9659 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4346, allocations: 0 / 0.9659 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001477/0.4361, allocations: 0.8163 MB / 0.9667 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/0.4411, allocations: 2.88 MB / 0.9695 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.4411, allocations: 8.109 kB / 0.9695 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.4417, allocations: 131.9 kB / 0.9697 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.4417, allocations: 4 kB / 0.9697 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.222e-05/0.4418, allocations: 27.98 kB / 0.9697 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.4418, allocations: 7.938 kB / 0.9697 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4418, allocations: 0 / 0.9697 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.4446, allocations: 1.49 MB / 0.9712 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008244/0.4454, allocations: 411.4 kB / 0.9716 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.4456, allocations: 24 kB / 0.9716 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007871/0.4464, allocations: 47.95 kB / 0.9716 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.4465, allocations: 60.47 kB / 0.9717 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.4466, allocations: 35.97 kB / 0.9717 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002182/0.4488, allocations: 1.416 MB / 0.9731 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.4488, allocations: 0 / 0.9731 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00183/0.4506, allocations: 0.6621 MB / 0.9737 GB, free: 11.37 MB / 0.7325 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.003475/0.4541, allocations: 1.129 MB / 0.9748 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.4559, allocations: 0.8003 MB / 0.9756 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.4559, allocations: 1.062 kB / 0.9756 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.4567, allocations: 375.4 kB / 0.976 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.4607, allocations: 0.8983 MB / 0.9769 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.4678, allocations: 4.036 MB / 0.9808 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.4691, allocations: 1.588 MB / 0.9824 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/0.4698, allocations: 183.4 kB / 0.9825 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of SimCode: time 1.482e-06/0.4698, allocations: 0 / 0.9825 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of Templates: time 0.4512/0.921, allocations: 37.47 MB / 1.019 GB, free: 171.1 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)