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.004363/0.004363, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001359/0.001359, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.504/2.504, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 71.88 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2524, allocations: 159.1 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.5259/0.7783, allocations: 81.27 MB / 1.3 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02606/0.8044, allocations: 19.49 MB / 1.319 GB, free: 3.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.8079, allocations: 103.6 kB / 1.319 GB, free: 3.484 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0029/0.8108, allocations: 1.337 MB / 1.32 GB, free: 2.715 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006476/0.8173, allocations: 2.837 MB / 1.323 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004888/0.8222, allocations: 2.229 MB / 1.325 GB, free: 15.71 MB / 1.045 GB [/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. [/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. Notification: Performance of NFFlatten.flatten: time 0.006513/0.8288, allocations: 5.727 MB / 1.331 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.8319, allocations: 2.649 MB / 1.333 GB, free: 11.53 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.8357, allocations: 2.2 MB / 1.335 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.8377, allocations: 1.71 MB / 1.337 GB, free: 9.535 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003617/0.8381, allocations: 306.1 kB / 1.337 GB, free: 9.535 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.8415, allocations: 1.713 MB / 1.339 GB, free: 8.941 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007171/0.8422, allocations: 0.775 MB / 1.34 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.8437, allocations: 1.533 MB / 1.341 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.8493, allocations: 5.174 MB / 1.346 GB, free: 5.488 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8494, allocations: 0 / 1.346 GB, free: 5.488 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.113e-06/0.8494, allocations: 0 / 1.346 GB, free: 5.488 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.207e-05/0.8494, allocations: 1.031 kB / 1.346 GB, free: 5.488 MB / 1.045 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.004909/0.8543, allocations: 3.42 MB / 1.35 GB, free: 3.098 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.8544, allocations: 10.62 kB / 1.35 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003523/0.8547, allocations: 268.3 kB / 1.35 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009814/0.8557, allocations: 401.4 kB / 1.35 GB, free: 2.688 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/0.8594, allocations: 2.658 MB / 1.353 GB, free: 0.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.8595, allocations: 140.4 kB / 1.353 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.8597, allocations: 187.3 kB / 1.353 GB, free: 0.543 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.8626, allocations: 1.845 MB / 1.355 GB, free: 15.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.8626, allocations: 1.125 kB / 1.355 GB, free: 15.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.8627, allocations: 84.66 kB / 1.355 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.8628, allocations: 48.69 kB / 1.355 GB, free: 15.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.8651, allocations: 1.356 MB / 1.356 GB, free: 14.66 MB / 1.061 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.008552/0.8737, allocations: 7.949 MB / 1.364 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.8755, allocations: 0.9033 MB / 1.365 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.8761, allocations: 344.1 kB / 1.365 GB, free: 7.273 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008541/0.877, allocations: 1.152 MB / 1.366 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007296/0.8777, allocations: 412.4 kB / 1.367 GB, free: 5.672 MB / 1.061 GB Notification: Performance of pre-optimization done (n=66): time 2.374e-06/0.8777, allocations: 0 / 1.367 GB, free: 5.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=66): time 0.002119/0.8798, allocations: 1.092 MB / 1.368 GB, free: 5.137 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/0.8799, allocations: 144.7 kB / 1.368 GB, free: 4.969 MB / 1.061 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.002528/0.8825, allocations: 2.092 MB / 1.37 GB, free: 3.844 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.8825, allocations: 54.67 kB / 1.37 GB, free: 3.793 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.8836, allocations: 1.214 MB / 1.371 GB, free: 2.723 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.8838, allocations: 250.5 kB / 1.372 GB, free: 2.508 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.8841, allocations: 212.5 kB / 1.372 GB, free: 2.387 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.8842, allocations: 347.2 kB / 1.372 GB, free: 2.051 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.8848, allocations: 341.6 kB / 1.372 GB, free: 1.879 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/0.8857, allocations: 0.6745 MB / 1.373 GB, free: 1.293 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.8872, allocations: 0.9293 MB / 1.374 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.8872, allocations: 3.344 kB / 1.374 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001963/0.8891, allocations: 1.215 MB / 1.375 GB, free: 12 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8892, allocations: 12.25 kB / 1.375 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8892, allocations: 7.031 kB / 1.375 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.8892, allocations: 16.33 kB / 1.375 GB, free: 4 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/0.8899, allocations: 208.5 kB / 1.375 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.8899, allocations: 24.64 kB / 1.375 GB, free: 15.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.8909, allocations: 151.2 kB / 1.376 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.891, allocations: 48.27 kB / 1.376 GB, free: 15.84 MB / 1.076 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.0007393/0.8918, allocations: 0.5778 MB / 1.376 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.8921, allocations: 226.3 kB / 1.376 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.8939, allocations: 1.032 MB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.8939, allocations: 6.875 kB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.8939, allocations: 3.938 kB / 1.377 GB, free: 14.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/0.8952, allocations: 0.8101 MB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.8991, allocations: 2.901 MB / 1.381 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.8991, allocations: 6.469 kB / 1.381 GB, free: 12.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.8996, allocations: 128.2 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.8996, allocations: 2.469 kB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.8997, allocations: 26.55 kB / 1.381 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.8997, allocations: 12.27 kB / 1.381 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8997, allocations: 6.562 kB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.9018, allocations: 1.491 MB / 1.383 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.9024, allocations: 414.6 kB / 1.383 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.9026, allocations: 22.47 kB / 1.383 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007401/0.9033, allocations: 58.17 kB / 1.383 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.9035, allocations: 59.48 kB / 1.383 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.9035, allocations: 44.53 kB / 1.383 GB, free: 10.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00166/0.9052, allocations: 1.422 MB / 1.385 GB, free: 10.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9052, allocations: 0 / 1.385 GB, free: 10.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001403/0.9066, allocations: 0.66 MB / 1.385 GB, free: 10 MB / 1.076 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.005443/0.9121, allocations: 3.081 MB / 1.388 GB, free: 8.203 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.9135, allocations: 0.8368 MB / 1.389 GB, free: 7.672 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9135, allocations: 0 / 1.389 GB, free: 7.672 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/0.9142, allocations: 412.3 kB / 1.39 GB, free: 7.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/0.9176, allocations: 0.8965 MB / 1.39 GB, free: 6.391 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/0.9375, allocations: 14.71 MB / 1.405 GB, free: 7.254 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.9387, allocations: 1.603 MB / 1.406 GB, free: 5.617 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001121/0.9399, allocations: 404.7 kB / 1.407 GB, free: 5.227 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.9411, allocations: 1.015 MB / 1.408 GB, free: 4.211 MB / 1.092 GB Notification: Performance of SimCode: time 4.71e-07/0.9411, allocations: 3.938 kB / 1.408 GB, free: 4.207 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9091/1.85, allocations: 57.57 MB / 1.464 GB, free: 11.11 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/15.03, allocations: 15.56 kB / 1.464 GB, free: 11.09 MB / 1.154 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)