Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,fileNamePrefix="BuildingSystems_BuildingSystems_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.001499/0.001499, 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.001603/0.001603, allocations: 197 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002453/0.002453, allocations: 282.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00255/0.00255, allocations: 101.6 kB / 0.6065 GB, free: 24.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1504, allocations: 89.14 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.3335/0.4839, allocations: 81.25 MB / 0.7729 GB, free: 24.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02181/0.5057, allocations: 19.48 MB / 0.792 GB, free: 22.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004014/0.5098, allocations: 100.9 kB / 0.7921 GB, free: 22.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.5128, allocations: 1.34 MB / 0.7934 GB, free: 21.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.5195, allocations: 2.836 MB / 0.7961 GB, free: 20.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.5242, allocations: 2.215 MB / 0.7983 GB, free: 19.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005879/0.5301, allocations: 5.72 MB / 0.8039 GB, free: 16.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.5332, allocations: 2.655 MB / 0.8065 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004127/0.5374, allocations: 2.186 MB / 0.8086 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.5399, allocations: 1.701 MB / 0.8103 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005204/0.5405, allocations: 306.8 kB / 0.8106 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/0.5443, allocations: 1.707 MB / 0.8122 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005878/0.5449, allocations: 0.7797 MB / 0.813 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.5463, allocations: 1.536 MB / 0.8145 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.5511, allocations: 5.091 MB / 0.8195 GB, free: 8.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5511, allocations: 0 / 0.8195 GB, free: 8.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5511, allocations: 0 / 0.8195 GB, free: 8.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.37e-05/0.5511, allocations: 0.9688 kB / 0.8195 GB, free: 8.156 MB / 0.545 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.003934/0.5551, allocations: 3.316 MB / 0.8227 GB, free: 5.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5551, allocations: 8.156 kB / 0.8227 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002851/0.5554, allocations: 269.1 kB / 0.823 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009223/0.5563, allocations: 395.8 kB / 0.8234 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.5592, allocations: 2.553 MB / 0.8258 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/0.5593, allocations: 140 kB / 0.826 GB, free: 3.305 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.5595, allocations: 190.1 kB / 0.8262 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.5617, allocations: 1.85 MB / 0.828 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/0.5618, allocations: 5.703 kB / 0.828 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.5619, allocations: 73 kB / 0.828 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/0.5619, allocations: 43.28 kB / 0.8281 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5639, allocations: 1.36 MB / 0.8294 GB, free: 1.363 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.008175/0.5721, allocations: 8.014 MB / 0.8372 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.5739, allocations: 0.9182 MB / 0.8381 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/0.5745, allocations: 339.2 kB / 0.8385 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009137/0.5754, allocations: 1.161 MB / 0.8396 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007225/0.5761, allocations: 406.8 kB / 0.84 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.044e-06/0.5762, allocations: 0 / 0.84 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002025/0.5782, allocations: 1.084 MB / 0.841 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.5783, allocations: 145.3 kB / 0.8412 GB, free: 7.73 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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.002417/0.5807, allocations: 2.092 MB / 0.8432 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/0.5808, allocations: 51.48 kB / 0.8433 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.5819, allocations: 1.196 MB / 0.8444 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.5821, allocations: 242 kB / 0.8447 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.5824, allocations: 218.4 kB / 0.8449 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5826, allocations: 345.9 kB / 0.8452 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/0.5832, allocations: 333.8 kB / 0.8455 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.5842, allocations: 0.6684 MB / 0.8462 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5858, allocations: 0.9331 MB / 0.8471 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5858, allocations: 0 / 0.8471 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002097/0.5879, allocations: 1.202 MB / 0.8483 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.5879, allocations: 8 kB / 0.8483 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5879, allocations: 15.92 kB / 0.8483 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.588, allocations: 12 kB / 0.8483 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.5887, allocations: 216.2 kB / 0.8485 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.5887, allocations: 23.86 kB / 0.8485 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.5897, allocations: 150.7 kB / 0.8487 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/0.5898, allocations: 51.98 kB / 0.8487 GB, free: 0.8398 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.0007585/0.5906, allocations: 0.5625 MB / 0.8493 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.5909, allocations: 217.4 kB / 0.8495 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.5929, allocations: 1.028 MB / 0.8505 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.5929, allocations: 11.98 kB / 0.8505 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5929, allocations: 7.922 kB / 0.8505 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001412/0.5943, allocations: 0.8085 MB / 0.8513 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004176/0.5985, allocations: 2.899 MB / 0.8541 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5985, allocations: 8 kB / 0.8541 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.5991, allocations: 127.9 kB / 0.8542 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.5991, allocations: 4 kB / 0.8543 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.5992, allocations: 23.98 kB / 0.8543 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.5992, allocations: 7.938 kB / 0.8543 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5992, allocations: 7.984 kB / 0.8543 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.6017, allocations: 1.488 MB / 0.8557 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005477/0.6022, allocations: 406.2 kB / 0.8561 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.6025, allocations: 23.98 kB / 0.8562 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/0.6032, allocations: 47.95 kB / 0.8562 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.6034, allocations: 68.41 kB / 0.8563 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/0.6034, allocations: 35.97 kB / 0.8563 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001873/0.6053, allocations: 1.424 MB / 0.8577 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6053, allocations: 0 / 0.8577 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001449/0.6068, allocations: 0.6582 MB / 0.8583 GB, free: 6.832 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.005804/0.6126, allocations: 3.055 MB / 0.8613 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.6145, allocations: 0.9341 MB / 0.8622 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.6145, allocations: 8.062 kB / 0.8622 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000717/0.6152, allocations: 403 kB / 0.8626 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/0.6187, allocations: 0.9212 MB / 0.8635 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/0.6404, allocations: 16.73 MB / 0.8799 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.6417, allocations: 1.603 MB / 0.8814 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001209/0.6429, allocations: 409.3 kB / 0.8818 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/0.6442, allocations: 1.007 MB / 0.8828 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.6442, allocations: 0 / 0.8828 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.226/1.87, allocations: 56.9 MB / 0.9384 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.911/10.78, allocations: 11.92 kB / 0.9384 GB, free: 4.562 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_TableData2D_fmu --startTime=0 --stopTime=14365 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1)