Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001225/0.001225, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001383/0.001383, allocations: 216.6 kB / 22.25 MB, free: 5.242 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.342/1.342, allocations: 230.6 MB / 256 MB, free: 7.801 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.002408/0.002408, allocations: 286 kB / 312.7 MB, free: 2.621 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.153/1.153, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.002835/0.002835, allocations: 103.2 kB / 0.7395 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1684, allocations: 95.38 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006051/0.1745, allocations: 4.395 MB / 0.8369 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1756, allocations: 0.7564 MB / 0.8377 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.1756, allocations: 0 / 0.8377 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1758, allocations: 27.78 kB / 0.8377 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.1759, allocations: 39.64 kB / 0.8377 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.1764, allocations: 171.4 kB / 0.8379 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.1766, allocations: 175.4 kB / 0.8381 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.863e-05/0.1767, allocations: 25.06 kB / 0.8381 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1768, allocations: 83.64 kB / 0.8382 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.177, allocations: 71.72 kB / 0.8382 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.177, allocations: 16 kB / 0.8383 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1773, allocations: 135.8 kB / 0.8384 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.1773, allocations: 35.89 kB / 0.8384 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.1774, allocations: 59.72 kB / 0.8385 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1777, allocations: 235.5 kB / 0.8387 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1777, allocations: 0 / 0.8387 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1777, allocations: 0 / 0.8387 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.1777, allocations: 0 / 0.8387 GB, free: 2.074 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008506/0.1786, allocations: 413.4 kB / 0.8391 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1786, allocations: 9.344 kB / 0.8391 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.1787, allocations: 42.73 kB / 0.8391 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1787, allocations: 12.84 kB / 0.8392 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1788, allocations: 129 kB / 0.8393 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1789, allocations: 8.375 kB / 0.8393 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.1789, allocations: 12.38 kB / 0.8393 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.1792, allocations: 127.3 kB / 0.8394 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1792, allocations: 0 / 0.8394 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1792, allocations: 4 kB / 0.8394 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1792, allocations: 4 kB / 0.8394 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.1796, allocations: 143.8 kB / 0.8396 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.1806, allocations: 411.6 kB / 0.84 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1809, allocations: 110.5 kB / 0.8401 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.1811, allocations: 64.81 kB / 0.8401 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.1822, allocations: 483.9 kB / 0.8406 GB, free: 4 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.1822, allocations: 34.5 kB / 0.8406 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1822, allocations: 0 / 0.8406 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0006632/0.1829, allocations: 209.5 kB / 0.8408 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1829, allocations: 59.34 kB / 0.8409 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1831, allocations: 171.9 kB / 0.841 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1831, allocations: 25.7 kB / 0.8411 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.1832, allocations: 112.4 kB / 0.8412 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.1832, allocations: 39.64 kB / 0.8412 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.1833, allocations: 53.69 kB / 0.8413 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1834, allocations: 322.8 kB / 0.8416 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1837, allocations: 71.95 kB / 0.8416 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1839, allocations: 126.7 kB / 0.8418 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.1843, allocations: 167.4 kB / 0.8419 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1843, allocations: 0 / 0.8419 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005612/0.1849, allocations: 253.5 kB / 0.8422 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1849, allocations: 11.94 kB / 0.8422 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1849, allocations: 3.938 kB / 0.8422 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1849, allocations: 4 kB / 0.8422 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.1852, allocations: 51.91 kB / 0.8422 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1852, allocations: 3.984 kB / 0.8422 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1854, allocations: 35.92 kB / 0.8423 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.1854, allocations: 12 kB / 0.8423 GB, free: 14.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001017/0.1855, allocations: 126.4 kB / 0.8424 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1855, allocations: 7.953 kB / 0.8424 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.186, allocations: 183.2 kB / 0.8426 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.186, allocations: 4 kB / 0.8426 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.186, allocations: 0 / 0.8426 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.186, allocations: 4 kB / 0.8426 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1862, allocations: 172.7 kB / 0.8428 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1862, allocations: 0 / 0.8428 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1864, allocations: 31.97 kB / 0.8428 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1864, allocations: 4 kB / 0.8428 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1864, allocations: 7.875 kB / 0.8428 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1864, allocations: 0 / 0.8428 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1864, allocations: 0 / 0.8428 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.1869, allocations: 259.3 kB / 0.843 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.1869, allocations: 24.25 kB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1869, allocations: 7.922 kB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.1871, allocations: 11.98 kB / 0.8431 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.1871, allocations: 11.98 kB / 0.8431 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1871, allocations: 4 kB / 0.8431 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.398e-05/0.1872, allocations: 116 kB / 0.8432 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1872, allocations: 4 kB / 0.8432 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003077/0.1875, allocations: 59.86 kB / 0.8433 GB, free: 13.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.0009159/0.1884, allocations: 0.8502 MB / 0.8441 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.1889, allocations: 159.6 kB / 0.8443 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1889, allocations: 0 / 0.8443 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.1891, allocations: 68.08 kB / 0.8443 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1894, allocations: 26.05 kB / 0.8443 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.1921, allocations: 1.957 MB / 0.8463 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.813e-05/0.1922, allocations: 97.61 kB / 0.8464 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.888e-05/0.1923, allocations: 15.33 kB / 0.8464 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.1924, allocations: 43.42 kB / 0.8464 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1924, allocations: 0 / 0.8464 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.2241, allocations: 4.952 MB / 0.8512 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.83, allocations: 4.641 kB / 0.8512 GB, free: 4.977 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.csv --start-time 0 --stop-time 250 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.779163973871619] Failed to read output from testmodel.py, exit status != 0: 10.936533498112112 10.952429394 10.771684354 Calling exit ...