Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.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.00122/0.00122, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001486/0.001486, allocations: 213.5 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.351/1.351, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002501/0.002501, allocations: 287.4 kB / 312.7 MB, free: 2.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.154/1.154, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 101.3 kB / 0.7396 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1562, allocations: 95.39 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01714/0.1733, allocations: 14.76 MB / 0.8471 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005674/0.179, allocations: 3.671 MB / 0.8507 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005109/0.1795, allocations: 27.75 kB / 0.8507 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.1801, allocations: 214.7 kB / 0.8509 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.1816, allocations: 0.6316 MB / 0.8516 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/0.1825, allocations: 409.1 kB / 0.852 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001432/0.184, allocations: 1.127 MB / 0.8531 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.1844, allocations: 253.5 kB / 0.8533 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009929/0.1854, allocations: 410.8 kB / 0.8537 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.1858, allocations: 326.6 kB / 0.854 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.465e-05/0.1859, allocations: 36 kB / 0.854 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.1865, allocations: 291.4 kB / 0.8543 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1866, allocations: 99.55 kB / 0.8544 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.1869, allocations: 215 kB / 0.8546 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009424/0.1878, allocations: 0.6149 MB / 0.8552 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1878, allocations: 0 / 0.8552 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1878, allocations: 0 / 0.8552 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1878, allocations: 0 / 0.8552 GB, free: 1.535 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001272/0.1891, allocations: 0.688 MB / 0.8559 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1892, allocations: 9.344 kB / 0.8559 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.524e-05/0.1892, allocations: 62.72 kB / 0.856 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1894, allocations: 48.7 kB / 0.856 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.1902, allocations: 416.6 kB / 0.8564 GB, free: 264 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.1903, allocations: 20.62 kB / 0.8564 GB, free: 244 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.1903, allocations: 32 kB / 0.8564 GB, free: 212 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/0.1909, allocations: 305.2 kB / 0.8567 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.1909, allocations: 4 kB / 0.8567 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.191, allocations: 11.98 kB / 0.8568 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.191, allocations: 8 kB / 0.8568 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.1914, allocations: 201.8 kB / 0.857 GB, free: 15.66 MB / 0.6075 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.001877/0.1933, allocations: 1.425 MB / 0.8583 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.1938, allocations: 150.6 kB / 0.8585 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.1939, allocations: 68.81 kB / 0.8586 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.194, allocations: 11.98 kB / 0.8586 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.1943, allocations: 123.3 kB / 0.8587 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.1943, allocations: 3.938 kB / 0.8587 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006495/0.195, allocations: 240.4 kB / 0.8589 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.195, allocations: 55.41 kB / 0.859 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.1954, allocations: 353.6 kB / 0.8593 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1954, allocations: 25.7 kB / 0.8593 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1956, allocations: 224 kB / 0.8595 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.1957, allocations: 51.59 kB / 0.8596 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.1958, allocations: 57.69 kB / 0.8597 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1959, allocations: 338.8 kB / 0.86 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.1961, allocations: 75.95 kB / 0.86 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.1964, allocations: 146.6 kB / 0.8602 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.1968, allocations: 251.2 kB / 0.8604 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1968, allocations: 0 / 0.8604 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006104/0.1974, allocations: 313.7 kB / 0.8607 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.1974, allocations: 41.62 kB / 0.8608 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1974, allocations: 4 kB / 0.8608 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1975, allocations: 7.938 kB / 0.8608 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1977, allocations: 51.91 kB / 0.8608 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1977, allocations: 7.984 kB / 0.8608 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.1979, allocations: 35.77 kB / 0.8609 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.1979, allocations: 16 kB / 0.8609 GB, free: 11.36 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001754/0.1981, allocations: 162.6 kB / 0.861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1982, allocations: 31.81 kB / 0.8611 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.1986, allocations: 196.4 kB / 0.8613 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1986, allocations: 3.938 kB / 0.8613 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1987, allocations: 0 / 0.8613 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005301/0.1992, allocations: 487.7 kB / 0.8617 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.1996, allocations: 324.5 kB / 0.862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1996, allocations: 4 kB / 0.862 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1998, allocations: 27.97 kB / 0.8621 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1998, allocations: 4 kB / 0.8621 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.1998, allocations: 4 kB / 0.8621 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1998, allocations: 7.875 kB / 0.8621 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1998, allocations: 0 / 0.8621 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.2004, allocations: 291.1 kB / 0.8624 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2005, allocations: 51.77 kB / 0.8624 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.2006, allocations: 4 kB / 0.8624 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2008, allocations: 23.92 kB / 0.8624 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.2009, allocations: 15.97 kB / 0.8624 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2009, allocations: 11.98 kB / 0.8625 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000266/0.2011, allocations: 251.2 kB / 0.8627 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2011, allocations: 0 / 0.8627 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004109/0.2016, allocations: 123.7 kB / 0.8628 GB, free: 9.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001136/0.2027, allocations: 0.9086 MB / 0.8637 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004932/0.2032, allocations: 223.2 kB / 0.8639 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2032, allocations: 0 / 0.8639 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.2034, allocations: 66.56 kB / 0.864 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.2043, allocations: 220.1 kB / 0.8642 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/0.2087, allocations: 3.069 MB / 0.8672 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.2091, allocations: 0.7957 MB / 0.868 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000232/0.2093, allocations: 59.27 kB / 0.868 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.2095, allocations: 119.4 kB / 0.8681 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2095, allocations: 0 / 0.8681 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04144/0.251, allocations: 10.5 MB / 0.8784 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.98, allocations: 4 kB / 0.8784 GB, free: 9.316 MB / 0.6231 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.929875091002032] Failed to read output from testmodel.py, exit status != 0: 11.085676423001132 11.10137907 10.910378028 Calling exit ...