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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007567/0.0007567, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007507/0.0007507, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8004/0.8004, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.635/1.635, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018e-05/1.143e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.4236/0.4236, allocations: 74.39 MB / 1.072 GB, free: 47.25 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.4361, allocations: 18.59 MB / 1.09 GB, free: 34.58 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.4373, allocations: 138 kB / 1.091 GB, free: 34.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.4389, allocations: 1.325 MB / 1.092 GB, free: 33.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.4415, allocations: 3.153 MB / 1.095 GB, free: 31.87 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.4439, allocations: 2.39 MB / 1.097 GB, free: 30.5 MB / 0.9948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 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.003062/0.4469, allocations: 5.943 MB / 1.103 GB, free: 27.45 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.4485, allocations: 2.018 MB / 1.105 GB, free: 26.33 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.4516, allocations: 3.387 MB / 1.108 GB, free: 24.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.4528, allocations: 1.469 MB / 1.11 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.4531, allocations: 323.2 kB / 1.11 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.4549, allocations: 1.509 MB / 1.112 GB, free: 23.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.4554, allocations: 0.8551 MB / 1.112 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000689/0.4561, allocations: 1.023 MB / 1.113 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.46, allocations: 5.472 MB / 1.119 GB, free: 20.58 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.46, allocations: 0 / 1.119 GB, free: 20.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.46, allocations: 1.094 kB / 1.119 GB, free: 20.58 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.826e-05/0.46, allocations: 0 / 1.119 GB, free: 20.58 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.00302/0.4631, allocations: 3.411 MB / 1.122 GB, free: 18.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.4631, allocations: 9.5 kB / 1.122 GB, free: 18.32 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002845/0.4634, allocations: 274.4 kB / 1.122 GB, free: 18.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/0.464, allocations: 416.1 kB / 1.123 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.4666, allocations: 2.657 MB / 1.125 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/0.4667, allocations: 148.7 kB / 1.126 GB, free: 16.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.4668, allocations: 195.9 kB / 1.126 GB, free: 16.28 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.4689, allocations: 2.159 MB / 1.128 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.4689, allocations: 9.359 kB / 1.128 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.469, allocations: 74.67 kB / 1.128 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.469, allocations: 50.11 kB / 1.128 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.4707, allocations: 1.439 MB / 1.129 GB, free: 14.52 MB / 0.9948 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.005359/0.4761, allocations: 6.631 MB / 1.136 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.4773, allocations: 0.8305 MB / 1.137 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.4777, allocations: 325.1 kB / 1.137 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.4779, allocations: 105.6 kB / 1.137 GB, free: 9.926 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005226/0.4784, allocations: 0.5638 MB / 1.138 GB, free: 9.562 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=66): time 2.455e-06/0.4784, allocations: 3.281 kB / 1.138 GB, free: 9.562 MB / 0.9948 GB Notification: Performance of matching and sorting (n=66): time 0.001418/0.4798, allocations: 1.142 MB / 1.139 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.4799, allocations: 137.2 kB / 1.139 GB, free: 8.953 MB / 0.9948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 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.002047/0.4819, allocations: 2.235 MB / 1.141 GB, free: 8.082 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.482, allocations: 47.12 kB / 1.141 GB, free: 8.039 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005995/0.4826, allocations: 1.247 MB / 1.142 GB, free: 7.059 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.4827, allocations: 247.7 kB / 1.143 GB, free: 6.867 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.4829, allocations: 225.7 kB / 1.143 GB, free: 6.762 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.4829, allocations: 343.3 kB / 1.143 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.4834, allocations: 351.6 kB / 1.143 GB, free: 6.316 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.484, allocations: 1.179 MB / 1.145 GB, free: 5.191 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.4849, allocations: 0.9955 MB / 1.146 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4849, allocations: 3.656 kB / 1.146 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001343/0.4862, allocations: 1.281 MB / 1.147 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4862, allocations: 9.75 kB / 1.147 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4862, allocations: 12.16 kB / 1.147 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4862, allocations: 14.27 kB / 1.147 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.4867, allocations: 215.2 kB / 1.147 GB, free: 3.965 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.4867, allocations: 19.7 kB / 1.147 GB, free: 3.961 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/0.4872, allocations: 166.1 kB / 1.147 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.4873, allocations: 48.52 kB / 1.147 GB, free: 3.863 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.hys.y,$PRE.heaPum.hys.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.0005233/0.4878, allocations: 0.5932 MB / 1.148 GB, free: 3.48 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.488, allocations: 233.2 kB / 1.148 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.4894, allocations: 1.13 MB / 1.149 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.4895, allocations: 15.12 kB / 1.149 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4895, allocations: 0.7969 kB / 1.149 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008977/0.4904, allocations: 0.8923 MB / 1.15 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.4933, allocations: 2.805 MB / 1.153 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4933, allocations: 1.531 kB / 1.153 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.4936, allocations: 144.2 kB / 1.153 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4936, allocations: 4.906 kB / 1.153 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.4936, allocations: 30.86 kB / 1.153 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.4936, allocations: 14.06 kB / 1.153 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4937, allocations: 5.859 kB / 1.153 GB, free: 1.184 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.4953, allocations: 1.608 MB / 1.155 GB, free: 432 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.4957, allocations: 354.8 kB / 1.155 GB, free: 208 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.4958, allocations: 27.48 kB / 1.155 GB, free: 192 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.4963, allocations: 62.56 kB / 1.155 GB, free: 168 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.4964, allocations: 66.39 kB / 1.155 GB, free: 160 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.4964, allocations: 40.02 kB / 1.155 GB, free: 152 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001425/0.4978, allocations: 1.509 MB / 1.157 GB, free: 15.55 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.4978, allocations: 1.125 kB / 1.157 GB, free: 15.55 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001151/0.499, allocations: 0.6937 MB / 1.157 GB, free: 15.36 MB / 1.01 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.eff.hys.y,heaPum.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 (81): * Single equations (assignments): 73 * 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.003613/0.5026, allocations: 3.313 MB / 1.16 GB, free: 13.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.5036, allocations: 0.8579 MB / 1.161 GB, free: 13.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5036, allocations: 1.125 kB / 1.161 GB, free: 13.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004684/0.5041, allocations: 413.8 kB / 1.162 GB, free: 13.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.506, allocations: 0.8838 MB / 1.163 GB, free: 12.97 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.5223, allocations: 15.22 MB / 1.177 GB, free: 5.801 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/0.5231, allocations: 1.081 MB / 1.179 GB, free: 5.516 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007974/0.5239, allocations: 419 kB / 1.179 GB, free: 5.332 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008545/0.5247, allocations: 1.039 MB / 1.18 GB, free: 4.434 MB / 1.01 GB Notification: Performance of SimCode: time 5.41e-07/0.5247, allocations: 0 / 1.18 GB, free: 4.434 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06565/0.5904, allocations: 63.63 MB / 1.242 GB, free: 8.203 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/9.256, allocations: 7.797 kB / 1.242 GB, free: 8.195 MB / 1.073 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.csv --start-time 0 --stop-time 14365 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.49138 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 13.1540547600016] Failed to read output from testmodel.py, exit status != 0: 9.398966596461833 9.408384828 8.946026097 Calling exit ...