Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="Buildings_latest_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.006627/0.006627, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001838/0.001838, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.53/2.53, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 67.89 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2672, allocations: 162.3 MB / 1.242 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.5442/0.8114, allocations: 81.4 MB / 1.321 GB, free: 9.035 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02603/0.8375, allocations: 19.5 MB / 1.34 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.8413, allocations: 104.1 kB / 1.341 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.8443, allocations: 1.326 MB / 1.342 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006851/0.8512, allocations: 2.831 MB / 1.345 GB, free: 8.391 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004947/0.8562, allocations: 2.231 MB / 1.347 GB, free: 7.113 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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. Notification: Performance of NFFlatten.flatten: time 0.0066/0.8628, allocations: 5.723 MB / 1.352 GB, free: 4.254 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.8659, allocations: 2.642 MB / 1.355 GB, free: 2.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/0.8702, allocations: 2.395 MB / 1.357 GB, free: 1.684 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.8721, allocations: 1.694 MB / 1.359 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.8725, allocations: 306.6 kB / 1.359 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.8757, allocations: 1.702 MB / 1.361 GB, free: 252 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006854/0.8764, allocations: 0.7824 MB / 1.362 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.8777, allocations: 1.535 MB / 1.363 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005544/0.8833, allocations: 5.181 MB / 1.368 GB, free: 11.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.8833, allocations: 0 / 1.368 GB, free: 11.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8833, allocations: 0 / 1.368 GB, free: 11.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.556e-05/0.8833, allocations: 1.312 kB / 1.368 GB, free: 11.05 MB / 1.076 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.004631/0.888, allocations: 3.416 MB / 1.372 GB, free: 8.422 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.888, allocations: 12.53 kB / 1.372 GB, free: 8.418 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/0.8883, allocations: 268.9 kB / 1.372 GB, free: 8.207 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/0.8893, allocations: 405.2 kB / 1.372 GB, free: 8.004 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.8929, allocations: 2.655 MB / 1.375 GB, free: 5.988 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.8931, allocations: 140.6 kB / 1.375 GB, free: 5.926 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.8933, allocations: 191.2 kB / 1.375 GB, free: 5.859 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.896, allocations: 1.849 MB / 1.377 GB, free: 4.715 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.8961, allocations: 1.25 kB / 1.377 GB, free: 4.715 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.8962, allocations: 72.06 kB / 1.377 GB, free: 4.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.8963, allocations: 49 kB / 1.377 GB, free: 4.656 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.8986, allocations: 1.36 MB / 1.378 GB, free: 3.98 MB / 1.076 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.008336/0.9069, allocations: 7.952 MB / 1.386 GB, free: 13.26 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.9087, allocations: 0.9042 MB / 1.387 GB, free: 12.76 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.9093, allocations: 338.2 kB / 1.387 GB, free: 12.6 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008491/0.9101, allocations: 1.16 MB / 1.388 GB, free: 11.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000732/0.9109, allocations: 412.9 kB / 1.389 GB, free: 10.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=66): time 2.374e-06/0.9109, allocations: 0 / 1.389 GB, free: 10.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=66): time 0.002079/0.913, allocations: 1.096 MB / 1.39 GB, free: 10.45 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.9131, allocations: 139.5 kB / 1.39 GB, free: 10.29 MB / 1.092 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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/Buildings 12.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.002478/0.9156, allocations: 2.097 MB / 1.392 GB, free: 9.156 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/0.9156, allocations: 49.95 kB / 1.392 GB, free: 9.109 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/0.9166, allocations: 1.221 MB / 1.393 GB, free: 8.031 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.9168, allocations: 243.7 kB / 1.394 GB, free: 7.824 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.9171, allocations: 215.9 kB / 1.394 GB, free: 7.699 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9173, allocations: 342.7 kB / 1.394 GB, free: 7.367 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005971/0.9179, allocations: 341.8 kB / 1.394 GB, free: 7.195 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/0.9188, allocations: 0.6715 MB / 1.395 GB, free: 6.613 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.9202, allocations: 0.9338 MB / 1.396 GB, free: 5.938 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.9202, allocations: 1.438 kB / 1.396 GB, free: 5.938 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001943/0.9221, allocations: 1.218 MB / 1.397 GB, free: 5.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9222, allocations: 9.094 kB / 1.397 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.9222, allocations: 16.03 kB / 1.397 GB, free: 5.312 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.9222, allocations: 11.72 kB / 1.397 GB, free: 5.312 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.9228, allocations: 209.1 kB / 1.397 GB, free: 5.266 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.9229, allocations: 20.53 kB / 1.397 GB, free: 5.258 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.9239, allocations: 153.8 kB / 1.398 GB, free: 5.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.924, allocations: 47.48 kB / 1.398 GB, free: 5.148 MB / 1.092 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.0006838/0.9247, allocations: 0.5659 MB / 1.398 GB, free: 4.762 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.9249, allocations: 225 kB / 1.398 GB, free: 4.641 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.9267, allocations: 1.029 MB / 1.399 GB, free: 4.094 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.9267, allocations: 12.7 kB / 1.399 GB, free: 4.09 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9267, allocations: 3.938 kB / 1.399 GB, free: 4.086 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/0.928, allocations: 0.8133 MB / 1.4 GB, free: 3.613 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.9319, allocations: 2.896 MB / 1.403 GB, free: 1.004 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.932, allocations: 0 / 1.403 GB, free: 1.004 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.9325, allocations: 136 kB / 1.403 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.9325, allocations: 4 kB / 1.403 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.9325, allocations: 27.98 kB / 1.403 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.9326, allocations: 7.938 kB / 1.403 GB, free: 0.832 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9326, allocations: 3.938 kB / 1.403 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.9349, allocations: 1.494 MB / 1.405 GB, free: 15.3 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.9354, allocations: 407.5 kB / 1.405 GB, free: 14.88 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.9356, allocations: 31.92 kB / 1.405 GB, free: 14.85 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/0.9363, allocations: 55.84 kB / 1.405 GB, free: 14.8 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.9365, allocations: 64.41 kB / 1.405 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/0.9365, allocations: 35.98 kB / 1.405 GB, free: 14.7 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001751/0.9383, allocations: 1.428 MB / 1.407 GB, free: 13.25 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9383, allocations: 0 / 1.407 GB, free: 13.25 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001455/0.9398, allocations: 0.666 MB / 1.407 GB, free: 12.59 MB / 1.107 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.00553/0.9453, allocations: 3.066 MB / 1.41 GB, free: 9.793 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.9467, allocations: 0.8317 MB / 1.411 GB, free: 8.965 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.9467, allocations: 0 / 1.411 GB, free: 8.965 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006638/0.9474, allocations: 404.4 kB / 1.411 GB, free: 8.57 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/0.9507, allocations: 0.9255 MB / 1.412 GB, free: 7.668 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.9698, allocations: 14.72 MB / 1.427 GB, free: 8.516 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.971, allocations: 1.607 MB / 1.428 GB, free: 6.879 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001054/0.9721, allocations: 403 kB / 1.429 GB, free: 6.492 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.9733, allocations: 1.011 MB / 1.43 GB, free: 5.48 MB / 1.123 GB Notification: Performance of SimCode: time 2.91e-07/0.9733, allocations: 0 / 1.43 GB, free: 5.48 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.768/10.74, allocations: 57.62 MB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.74/37.48, allocations: 9.875 kB / 1.486 GB, free: 12.42 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D_fmu --startTime=0 --stopTime=14365 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)