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.001484/0.001484, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001621/0.001621, allocations: 216.9 kB / 22.25 MB, free: 5.121 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.333/1.333, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] 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.002378/0.002378, allocations: 284.8 kB / 312.7 MB, free: 2.805 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.117/1.117, allocations: 180.6 MB / 0.5369 GB, free: 12.87 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.002766/0.002766, allocations: 100.8 kB / 0.7396 GB, free: 28.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1728, allocations: 95.39 MB / 0.8328 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006216/0.179, allocations: 4.666 MB / 0.8373 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1801, allocations: 0.838 MB / 0.8381 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.1802, allocations: 0 / 0.8381 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.1803, allocations: 27.83 kB / 0.8382 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.1804, allocations: 35.66 kB / 0.8382 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.1809, allocations: 171.4 kB / 0.8384 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.1811, allocations: 183.4 kB / 0.8385 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.1812, allocations: 9.094 kB / 0.8385 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1813, allocations: 91.69 kB / 0.8386 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1814, allocations: 75.73 kB / 0.8387 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.1815, allocations: 12 kB / 0.8387 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.1818, allocations: 159.7 kB / 0.8389 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.1818, allocations: 31.91 kB / 0.8389 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.749e-05/0.1819, allocations: 75.64 kB / 0.839 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.1823, allocations: 239.5 kB / 0.8392 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1823, allocations: 0 / 0.8392 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1823, allocations: 0 / 0.8392 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.1823, allocations: 4 kB / 0.8392 GB, free: 1.977 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.0008498/0.1831, allocations: 409.4 kB / 0.8396 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1832, allocations: 9.344 kB / 0.8396 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.1832, allocations: 38.75 kB / 0.8396 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1833, allocations: 16.84 kB / 0.8396 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1834, allocations: 128.8 kB / 0.8398 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1834, allocations: 8.375 kB / 0.8398 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1834, allocations: 8.375 kB / 0.8398 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.1838, allocations: 121.6 kB / 0.8399 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1838, allocations: 0 / 0.8399 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1838, allocations: 4 kB / 0.8399 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1838, allocations: 0 / 0.8399 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.1842, allocations: 143.8 kB / 0.84 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009485/0.1851, allocations: 447.4 kB / 0.8405 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.1854, allocations: 122.5 kB / 0.8406 GB, free: 444 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.1856, allocations: 60.81 kB / 0.8406 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/0.1867, allocations: 0.4959 MB / 0.8411 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.1868, allocations: 42.56 kB / 0.8412 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1868, allocations: 0 / 0.8412 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.000622/0.1874, allocations: 205.5 kB / 0.8414 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.1874, allocations: 55.34 kB / 0.8414 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1876, allocations: 161.1 kB / 0.8416 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1876, allocations: 33.7 kB / 0.8416 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.1877, allocations: 108.4 kB / 0.8417 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.1877, allocations: 47.62 kB / 0.8417 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-05/0.1878, allocations: 49.7 kB / 0.8418 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.188, allocations: 322.8 kB / 0.8421 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.1882, allocations: 75.94 kB / 0.8422 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.1884, allocations: 115.2 kB / 0.8423 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1888, allocations: 175.1 kB / 0.8425 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1888, allocations: 0 / 0.8425 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005247/0.1893, allocations: 243.1 kB / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1893, allocations: 7.984 kB / 0.8427 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1894, allocations: 7.938 kB / 0.8427 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1894, allocations: 4.094 kB / 0.8427 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.1896, allocations: 51.91 kB / 0.8428 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1896, allocations: 4 kB / 0.8428 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1898, allocations: 27.88 kB / 0.8428 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.1898, allocations: 7.984 kB / 0.8428 GB, free: 14.05 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.000108/0.1899, allocations: 126.4 kB / 0.8429 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.19, allocations: 19.91 kB / 0.8429 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.1904, allocations: 179.2 kB / 0.8431 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1904, allocations: 4 kB / 0.8431 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1904, allocations: 0 / 0.8431 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1904, allocations: 0 / 0.8431 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.1907, allocations: 188.6 kB / 0.8433 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1907, allocations: 0 / 0.8433 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1908, allocations: 39.91 kB / 0.8433 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1908, allocations: 0 / 0.8433 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1908, allocations: 7.938 kB / 0.8433 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1908, allocations: 0 / 0.8433 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1908, allocations: 0 / 0.8433 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.1913, allocations: 263.4 kB / 0.8436 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1913, allocations: 23.86 kB / 0.8436 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1913, allocations: 7.938 kB / 0.8436 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1915, allocations: 11.98 kB / 0.8436 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.1915, allocations: 7.984 kB / 0.8436 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1915, allocations: 8 kB / 0.8436 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.802e-05/0.1916, allocations: 114.1 kB / 0.8437 GB, free: 13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1916, allocations: 0 / 0.8437 GB, free: 13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003133/0.1919, allocations: 63.86 kB / 0.8438 GB, free: 12.94 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.0008773/0.1928, allocations: 0.8487 MB / 0.8446 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.1932, allocations: 160 kB / 0.8448 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1932, allocations: 4 kB / 0.8448 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1934, allocations: 63.89 kB / 0.8449 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1938, allocations: 15.98 kB / 0.8449 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.1963, allocations: 1.966 MB / 0.8468 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1967, allocations: 0.7045 MB / 0.8475 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.407e-05/0.1967, allocations: 28.64 kB / 0.8475 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.1968, allocations: 39.42 kB / 0.8475 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.1968, allocations: 0 / 0.8475 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.2282, allocations: 4.461 MB / 0.8519 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.957/10.19, allocations: 6.25 kB / 0.8519 GB, free: 4.684 MB / 0.5919 GB " [Timeout remaining time 650] (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.063675534001959] Failed to read output from testmodel.py, exit status != 0: 10.2833102959994 10.297947524 10.112861052 Calling exit ...