Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_11_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.001517/0.001517, 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.001498/0.001498, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.647/2.647, allocations: 469.8 MB / 0.7421 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.00183, allocations: 69.62 kB / 0.9082 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.281, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.08306/0.3641, allocations: 80.51 MB / 1.142 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03076/0.3949, allocations: 19.18 MB / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00511/0.4, allocations: 95.44 kB / 1.161 GB, free: 10.4 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.4039, allocations: 1.166 MB / 1.162 GB, free: 9.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007363/0.4113, allocations: 2.638 MB / 1.165 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005315/0.4166, allocations: 2.037 MB / 1.167 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007817/0.4244, allocations: 5.748 MB / 1.172 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004148/0.4286, allocations: 2.612 MB / 1.175 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.4335, allocations: 2.216 MB / 1.177 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.4363, allocations: 1.762 MB / 1.179 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007674/0.4371, allocations: 308 kB / 1.179 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.441, allocations: 1.72 MB / 1.181 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.4421, allocations: 0.7826 MB / 1.182 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0025/0.4447, allocations: 1.539 MB / 1.183 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00761/0.4523, allocations: 5.102 MB / 1.188 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4523, allocations: 0 / 1.188 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4523, allocations: 4 kB / 1.188 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001294/0.4524, allocations: 0 / 1.188 GB, free: 14.67 MB / 0.9512 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.006511/0.459, allocations: 3.309 MB / 1.191 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.459, allocations: 12.02 kB / 1.191 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003771/0.4594, allocations: 268.5 kB / 1.192 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.4605, allocations: 384.2 kB / 1.192 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.4646, allocations: 2.611 MB / 1.194 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.4648, allocations: 147.5 kB / 1.195 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.465, allocations: 187.9 kB / 1.195 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.4683, allocations: 1.846 MB / 1.197 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.4683, allocations: 4 kB / 1.197 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.4685, allocations: 72 kB / 1.197 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.4686, allocations: 55.92 kB / 1.197 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.4712, allocations: 1.352 MB / 1.198 GB, free: 4.199 MB / 0.9512 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.009947/0.4811, allocations: 7.954 MB / 1.206 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.4831, allocations: 0.9088 MB / 1.207 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.4837, allocations: 336.9 kB / 1.207 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009338/0.4847, allocations: 1.156 MB / 1.208 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008119/0.4855, allocations: 408.4 kB / 1.208 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 2.455e-06/0.4855, allocations: 0 / 1.208 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.00239/0.4879, allocations: 1.086 MB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.488, allocations: 145 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 11.1.0-maint.11.x/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.002838/0.4909, allocations: 2.079 MB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.491, allocations: 49.7 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.4921, allocations: 1.195 MB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.4924, allocations: 232.8 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/0.4927, allocations: 218.4 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4929, allocations: 337.9 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006618/0.4935, allocations: 341.8 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/0.4945, allocations: 0.6723 MB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.4961, allocations: 0.9324 MB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.4961, allocations: 8 kB / 1.216 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002331/0.4984, allocations: 1.206 MB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4985, allocations: 8 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4985, allocations: 4 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.4985, allocations: 16 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.4992, allocations: 215.6 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.4993, allocations: 12.38 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5006, allocations: 210.6 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.5007, allocations: 44 kB / 1.217 GB, free: 15.43 MB / 0.9825 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.001007/0.5017, allocations: 0.5659 MB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.5021, allocations: 213.4 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.5041, allocations: 1.025 MB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.5041, allocations: 11.94 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5041, allocations: 3.984 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/0.5055, allocations: 0.8124 MB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/0.51, allocations: 2.893 MB / 1.223 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.51, allocations: 4 kB / 1.223 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.5106, allocations: 131.8 kB / 1.223 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-06/0.5106, allocations: 4 kB / 1.223 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/0.5107, allocations: 23.98 kB / 1.223 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.5107, allocations: 8 kB / 1.223 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5107, allocations: 0 / 1.223 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.5132, allocations: 1.481 MB / 1.224 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/0.5139, allocations: 406.2 kB / 1.225 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.5141, allocations: 20.12 kB / 1.225 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009008/0.515, allocations: 99.75 kB / 1.225 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5152, allocations: 68.36 kB / 1.225 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/0.5152, allocations: 35.97 kB / 1.225 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002001/0.5172, allocations: 1.413 MB / 1.226 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5172, allocations: 0 / 1.226 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001623/0.5189, allocations: 0.6504 MB / 1.227 GB, free: 5.387 MB / 0.9825 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.005971/0.5249, allocations: 3.039 MB / 1.23 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00212/0.527, allocations: 0.9527 MB / 1.231 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.527, allocations: 0 / 1.231 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000738/0.5277, allocations: 404.4 kB / 1.231 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/0.5315, allocations: 0.9143 MB / 1.232 GB, free: 408 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4509/0.9825, allocations: 17.59 MB / 1.249 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.9836, allocations: 1.603 MB / 1.251 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001485/0.9851, allocations: 401.2 kB / 1.251 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009968/0.9861, allocations: 1.013 MB / 1.252 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.9861, allocations: 3.906 kB / 1.252 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5771/1.563, allocations: 56.2 MB / 1.307 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/1.564, allocations: 271.5 kB / 1.307 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.408/4.971, allocations: 3.828 kB / 1.307 GB, free: 147.4 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D_fmu --startTime=0 --stopTime=14365 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)