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.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.506/2.506, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 66.83 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2405, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.0781/0.3186, allocations: 81.27 MB / 1.143 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02468/0.3433, allocations: 19.49 MB / 1.162 GB, free: 9.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.3455, allocations: 103.4 kB / 1.163 GB, free: 9.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.3482, allocations: 1.324 MB / 1.164 GB, free: 7.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005462/0.3537, allocations: 2.839 MB / 1.167 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004322/0.358, allocations: 2.212 MB / 1.169 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005611/0.3636, allocations: 5.726 MB / 1.174 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.3665, allocations: 2.643 MB / 1.177 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003261/0.3698, allocations: 2.189 MB / 1.179 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.3716, allocations: 1.702 MB / 1.181 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.372, allocations: 304 kB / 1.181 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.3748, allocations: 1.7 MB / 1.183 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006613/0.3755, allocations: 0.7826 MB / 1.183 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.3768, allocations: 1.536 MB / 1.185 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.3816, allocations: 5.087 MB / 1.19 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3816, allocations: 4 kB / 1.19 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3816, allocations: 0 / 1.19 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.334e-05/0.3817, allocations: 0 / 1.19 GB, free: 12.91 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.004514/0.3862, allocations: 3.313 MB / 1.193 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3862, allocations: 8.031 kB / 1.193 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003508/0.3866, allocations: 276.4 kB / 1.193 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009519/0.3875, allocations: 392.1 kB / 1.194 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.3911, allocations: 2.559 MB / 1.196 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.3912, allocations: 151.4 kB / 1.196 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.3914, allocations: 180 kB / 1.197 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.3942, allocations: 1.85 MB / 1.198 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.3942, allocations: 7.906 kB / 1.198 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.3944, allocations: 72 kB / 1.199 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.3944, allocations: 47.98 kB / 1.199 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.3968, allocations: 1.36 MB / 1.2 GB, free: 2.473 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.00852/0.4053, allocations: 8.009 MB / 1.208 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.4072, allocations: 0.8993 MB / 1.209 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/0.4078, allocations: 338.4 kB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008476/0.4087, allocations: 1.16 MB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007292/0.4094, allocations: 402.9 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 2.194e-06/0.4094, allocations: 0 / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.002049/0.4115, allocations: 1.09 MB / 1.212 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.4115, allocations: 137 kB / 1.212 GB, free: 5.711 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.002505/0.4141, allocations: 2.099 MB / 1.214 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.4141, allocations: 49.7 kB / 1.214 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000983/0.4151, allocations: 1.199 MB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.4153, allocations: 244.7 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.4156, allocations: 214.4 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4158, allocations: 341.9 kB / 1.216 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.4164, allocations: 333.8 kB / 1.216 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/0.4173, allocations: 0.6723 MB / 1.217 GB, free: 396 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.4188, allocations: 0.9324 MB / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4188, allocations: 4 kB / 1.218 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001956/0.4207, allocations: 1.206 MB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4208, allocations: 8 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4208, allocations: 8 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4208, allocations: 16 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.4215, allocations: 216.2 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.4215, allocations: 19.92 kB / 1.219 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00099/0.4225, allocations: 150.7 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.4226, allocations: 51.98 kB / 1.219 GB, free: 13.67 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.0007248/0.4233, allocations: 0.5663 MB / 1.22 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.4236, allocations: 221.3 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.4255, allocations: 1.025 MB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.4255, allocations: 15.92 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4255, allocations: 0 / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/0.4269, allocations: 0.8124 MB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/0.4308, allocations: 2.905 MB / 1.225 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4308, allocations: 0 / 1.225 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005304/0.4313, allocations: 135.8 kB / 1.225 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4313, allocations: 4 kB / 1.225 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.4314, allocations: 27.98 kB / 1.225 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4314, allocations: 4 kB / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4314, allocations: 0 / 1.225 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.4337, allocations: 1.485 MB / 1.226 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.4342, allocations: 406.2 kB / 1.227 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.4344, allocations: 27.98 kB / 1.227 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.4352, allocations: 43.95 kB / 1.227 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.4353, allocations: 68.41 kB / 1.227 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-05/0.4354, allocations: 35.98 kB / 1.227 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001762/0.4371, allocations: 1.428 MB / 1.228 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4371, allocations: 3.938 kB / 1.228 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001327/0.4385, allocations: 0.6505 MB / 1.229 GB, free: 3.637 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.005545/0.444, allocations: 3.059 MB / 1.232 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.4458, allocations: 0.9371 MB / 1.233 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4458, allocations: 0 / 1.233 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.4465, allocations: 404.4 kB / 1.233 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.4498, allocations: 0.9119 MB / 1.234 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.375/0.8248, allocations: 16.74 MB / 1.25 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.8258, allocations: 1.606 MB / 1.252 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001332/0.8272, allocations: 394.9 kB / 1.252 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009288/0.8281, allocations: 1.011 MB / 1.253 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/0.8281, allocations: 0 / 1.253 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.221/4.049, allocations: 56.89 MB / 1.309 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.93/24.98, allocations: 10.53 kB / 1.309 GB, free: 146.5 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)