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.001395/0.001395, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.00134/0.00134, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.298/1.298, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7627/0.7627, allocations: 126.7 MB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 63.91 kB / 0.4953 GB, free: 3.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 78.87 MB / 0.5724 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.07579/0.4035, allocations: 80.6 MB / 0.6511 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02982/0.4334, allocations: 19.18 MB / 0.6698 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004746/0.4382, allocations: 95.5 kB / 0.6699 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004305/0.4425, allocations: 1.174 MB / 0.671 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00865/0.4512, allocations: 2.621 MB / 0.6736 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006246/0.4575, allocations: 2.027 MB / 0.6756 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008973/0.4665, allocations: 5.749 MB / 0.6812 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00443/0.4709, allocations: 2.616 MB / 0.6838 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006672/0.4776, allocations: 2.399 MB / 0.6861 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.4812, allocations: 1.735 MB / 0.6878 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007859/0.482, allocations: 304 kB / 0.6881 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004534/0.4865, allocations: 1.724 MB / 0.6898 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.4876, allocations: 0.7827 MB / 0.6905 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002472/0.4901, allocations: 1.532 MB / 0.692 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008631/0.4987, allocations: 5.126 MB / 0.697 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4988, allocations: 0 / 0.697 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4988, allocations: 0 / 0.697 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.6e-05/0.4989, allocations: 0 / 0.697 GB, free: 5.996 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.006185/0.5051, allocations: 3.313 MB / 0.7003 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.5051, allocations: 12.02 kB / 0.7003 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004197/0.5056, allocations: 272.5 kB / 0.7005 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.5068, allocations: 384.2 kB / 0.7009 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.5113, allocations: 2.617 MB / 0.7035 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.5115, allocations: 147.5 kB / 0.7036 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.5117, allocations: 180 kB / 0.7038 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.5151, allocations: 1.838 MB / 0.7056 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.5152, allocations: 7.938 kB / 0.7056 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.5154, allocations: 72 kB / 0.7056 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.5154, allocations: 51.98 kB / 0.7057 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.518, allocations: 1.356 MB / 0.707 GB, free: 11.52 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.01079/0.5288, allocations: 7.954 MB / 0.7148 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.5309, allocations: 0.9067 MB / 0.7157 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.5316, allocations: 340.2 kB / 0.716 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009718/0.5326, allocations: 1.16 MB / 0.7171 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008471/0.5334, allocations: 407 kB / 0.7175 GB, free: 68 kB / 0.545 GB Notification: Performance of pre-optimization done (n=66): time 2.515e-06/0.5334, allocations: 0 / 0.7175 GB, free: 68 kB / 0.545 GB Notification: Performance of matching and sorting (n=66): time 0.002603/0.536, allocations: 1.094 MB / 0.7186 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.5361, allocations: 137.1 kB / 0.7187 GB, free: 14.8 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.003108/0.5393, allocations: 2.076 MB / 0.7207 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.5394, allocations: 49.69 kB / 0.7208 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.5406, allocations: 1.199 MB / 0.722 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.5409, allocations: 240.7 kB / 0.7222 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.5412, allocations: 214.4 kB / 0.7224 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5414, allocations: 345.9 kB / 0.7227 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.5421, allocations: 337.8 kB / 0.723 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.5431, allocations: 0.6685 MB / 0.7237 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.5446, allocations: 0.9363 MB / 0.7246 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5446, allocations: 4 kB / 0.7246 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002425/0.5471, allocations: 1.202 MB / 0.7258 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.5471, allocations: 12 kB / 0.7258 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.5471, allocations: 7.938 kB / 0.7258 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.5472, allocations: 19.94 kB / 0.7258 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.5479, allocations: 212.2 kB / 0.726 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.5479, allocations: 15.94 kB / 0.726 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.5494, allocations: 206.7 kB / 0.7262 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.5495, allocations: 40 kB / 0.7263 GB, free: 6.742 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.001042/0.5505, allocations: 0.5678 MB / 0.7268 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.5509, allocations: 217.3 kB / 0.727 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.553, allocations: 1.039 MB / 0.7281 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.553, allocations: 8 kB / 0.7281 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.553, allocations: 0 / 0.7281 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/0.5545, allocations: 0.8124 MB / 0.7289 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/0.5591, allocations: 2.889 MB / 0.7317 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5592, allocations: 4 kB / 0.7317 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/0.5597, allocations: 131.8 kB / 0.7318 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.5598, allocations: 4 kB / 0.7318 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.5598, allocations: 19.98 kB / 0.7318 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.5598, allocations: 8.188 kB / 0.7318 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5598, allocations: 7.938 kB / 0.7318 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.5624, allocations: 1.477 MB / 0.7333 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/0.5631, allocations: 406.2 kB / 0.7337 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.5634, allocations: 23.98 kB / 0.7337 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000917/0.5643, allocations: 92.03 kB / 0.7338 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.5645, allocations: 68.3 kB / 0.7339 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/0.5645, allocations: 39.97 kB / 0.7339 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002106/0.5666, allocations: 1.413 MB / 0.7353 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5667, allocations: 0 / 0.7353 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001691/0.5684, allocations: 0.6503 MB / 0.7359 GB, free: 12.7 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.006172/0.5745, allocations: 3.044 MB / 0.7389 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.5768, allocations: 0.9448 MB / 0.7398 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5768, allocations: 0 / 0.7398 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.5776, allocations: 400.4 kB / 0.7402 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/0.5819, allocations: 0.9054 MB / 0.7411 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2691/0.851, allocations: 17.58 MB / 0.7582 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/0.852, allocations: 1.606 MB / 0.7598 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001371/0.8533, allocations: 404 kB / 0.7602 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009703/0.8543, allocations: 1.012 MB / 0.7612 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.8543, allocations: 0 / 0.7612 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.652/2.506, allocations: 56.23 MB / 0.8161 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/2.507, allocations: 262.3 kB / 0.8163 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.406/5.913, allocations: 2.25 kB / 0.8163 GB, free: 108.4 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)