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.001907/0.001907, allocations: 106.5 kB / 16.27 MB, free: 5.98 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.002107/0.002107, allocations: 186.5 kB / 17.19 MB, free: 5.609 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7989/0.7989, allocations: 126.7 MB / 417.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 64.12 kB / 0.4959 GB, free: 2.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3043, allocations: 78.86 MB / 0.5729 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.07528/0.3796, allocations: 81.37 MB / 0.6523 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02949/0.4091, allocations: 19.51 MB / 0.6714 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003596/0.4127, allocations: 103.4 kB / 0.6715 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.4159, allocations: 1.324 MB / 0.6728 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006795/0.4228, allocations: 2.828 MB / 0.6755 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004993/0.4278, allocations: 2.203 MB / 0.6777 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006789/0.4346, allocations: 5.718 MB / 0.6833 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003514/0.4381, allocations: 2.64 MB / 0.6859 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005374/0.4435, allocations: 2.381 MB / 0.6882 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.4463, allocations: 1.684 MB / 0.6898 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005197/0.4468, allocations: 304 kB / 0.6901 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.4504, allocations: 1.7 MB / 0.6918 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008062/0.4513, allocations: 0.7788 MB / 0.6925 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.453, allocations: 1.532 MB / 0.694 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00623/0.4592, allocations: 5.102 MB / 0.699 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4592, allocations: 4 kB / 0.699 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4592, allocations: 0 / 0.699 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.853e-05/0.4593, allocations: 0 / 0.699 GB, free: 4.281 MB / 0.5294 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.005199/0.4645, allocations: 3.313 MB / 0.7022 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4645, allocations: 8.625 kB / 0.7023 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003863/0.4649, allocations: 268.5 kB / 0.7025 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.466, allocations: 384.2 kB / 0.7029 GB, free: 220 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.4699, allocations: 2.577 MB / 0.7054 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.47, allocations: 139.5 kB / 0.7055 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.4703, allocations: 180 kB / 0.7057 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.4733, allocations: 1.85 MB / 0.7075 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.4734, allocations: 4 kB / 0.7075 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.4735, allocations: 72 kB / 0.7076 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/0.4736, allocations: 44 kB / 0.7076 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002594/0.4762, allocations: 1.36 MB / 0.709 GB, free: 9.855 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.009804/0.486, allocations: 8.016 MB / 0.7168 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.4881, allocations: 0.9108 MB / 0.7177 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006239/0.4887, allocations: 337.7 kB / 0.718 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009533/0.4897, allocations: 1.164 MB / 0.7191 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008138/0.4905, allocations: 403 kB / 0.7195 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 4.779e-06/0.4905, allocations: 0 / 0.7195 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002375/0.4929, allocations: 1.094 MB / 0.7206 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.493, allocations: 141.1 kB / 0.7207 GB, free: 13.07 MB / 0.5606 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.002794/0.4958, allocations: 2.091 MB / 0.7228 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.97e-05/0.4959, allocations: 49.69 kB / 0.7228 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.497, allocations: 1.191 MB / 0.724 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.4973, allocations: 240.7 kB / 0.7242 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/0.4976, allocations: 218.4 kB / 0.7244 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4977, allocations: 345.9 kB / 0.7247 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.4984, allocations: 337.8 kB / 0.7251 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.4994, allocations: 0.6685 MB / 0.7257 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.501, allocations: 0.9285 MB / 0.7266 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5011, allocations: 4 kB / 0.7266 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002199/0.5033, allocations: 1.209 MB / 0.7278 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5033, allocations: 8 kB / 0.7278 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.5033, allocations: 11.94 kB / 0.7278 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.5033, allocations: 12 kB / 0.7278 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.5041, allocations: 208.2 kB / 0.728 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.5041, allocations: 19.94 kB / 0.728 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.5052, allocations: 152.2 kB / 0.7282 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.5053, allocations: 51.97 kB / 0.7282 GB, free: 5.043 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.0008454/0.5062, allocations: 0.5728 MB / 0.7288 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/0.5065, allocations: 221.3 kB / 0.729 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.5085, allocations: 1.028 MB / 0.73 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.5086, allocations: 12 kB / 0.73 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5086, allocations: 0 / 0.73 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001455/0.51, allocations: 0.8124 MB / 0.7308 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/0.5145, allocations: 2.897 MB / 0.7337 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5146, allocations: 192 / 0.7337 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.5151, allocations: 135.8 kB / 0.7338 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.5152, allocations: 8 kB / 0.7338 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-05/0.5152, allocations: 27.98 kB / 0.7338 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.5152, allocations: 4 kB / 0.7338 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.5152, allocations: 0 / 0.7338 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.5179, allocations: 1.484 MB / 0.7353 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/0.5186, allocations: 406.2 kB / 0.7357 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.5188, allocations: 28 kB / 0.7357 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.5196, allocations: 47.95 kB / 0.7357 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.5198, allocations: 64.41 kB / 0.7358 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.5198, allocations: 35.97 kB / 0.7358 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002029/0.5219, allocations: 1.432 MB / 0.7372 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.204e-06/0.5219, allocations: 0 / 0.7372 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001643/0.5235, allocations: 0.6582 MB / 0.7379 GB, free: 10.99 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.006147/0.5297, allocations: 3.05 MB / 0.7408 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.5318, allocations: 0.9448 MB / 0.7418 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5318, allocations: 4 kB / 0.7418 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.5326, allocations: 408.3 kB / 0.7422 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/0.5363, allocations: 0.9044 MB / 0.743 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2256/0.7619, allocations: 16.73 MB / 0.7594 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009835/0.7629, allocations: 1.606 MB / 0.7609 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001397/0.7643, allocations: 407.3 kB / 0.7613 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009523/0.7653, allocations: 1.016 MB / 0.7623 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.7653, allocations: 3.75 kB / 0.7623 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.698/3.463, allocations: 56.89 MB / 0.8179 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/19.61, allocations: 11.94 kB / 0.8179 GB, free: 105.2 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_TableData2D_fmu --startTime=0 --stopTime=14365 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)