Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001357/0.001357, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001508/0.001508, allocations: 215.3 kB / 22.99 MB, free: 4.977 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9142/0.9142, allocations: 149.9 MB / 463 MB, free: 10.4 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002243/0.002243, allocations: 70.31 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1707, allocations: 89.17 MB / 0.7282 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00675/0.1775, allocations: 4.385 MB / 0.7325 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1786, allocations: 0.7516 MB / 0.7332 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.1787, allocations: 4 kB / 0.7332 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1788, allocations: 27.77 kB / 0.7332 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.1789, allocations: 27.72 kB / 0.7332 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.1795, allocations: 175.4 kB / 0.7334 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.1797, allocations: 175.4 kB / 0.7336 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.1798, allocations: 17.3 kB / 0.7336 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.18, allocations: 79.64 kB / 0.7337 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1801, allocations: 71.72 kB / 0.7337 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.1802, allocations: 16 kB / 0.7338 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.1805, allocations: 131.8 kB / 0.7339 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.1806, allocations: 39.89 kB / 0.7339 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.138e-05/0.1806, allocations: 63.72 kB / 0.734 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.181, allocations: 235.5 kB / 0.7342 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.181, allocations: 0 / 0.7342 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/0.181, allocations: 0 / 0.7342 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.181, allocations: 3.938 kB / 0.7342 GB, free: 10.84 MB / 0.5606 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.0008835/0.1819, allocations: 413.4 kB / 0.7346 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1819, allocations: 8.031 kB / 0.7346 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.182, allocations: 42.73 kB / 0.7346 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.182, allocations: 12.84 kB / 0.7347 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1822, allocations: 122.4 kB / 0.7348 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1822, allocations: 11.94 kB / 0.7348 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1822, allocations: 12 kB / 0.7348 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.1825, allocations: 125.5 kB / 0.7349 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1826, allocations: 0 / 0.7349 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1826, allocations: 4 kB / 0.7349 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1826, allocations: 4 kB / 0.7349 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.183, allocations: 139.9 kB / 0.7351 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.184, allocations: 411.6 kB / 0.7355 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.1843, allocations: 118.5 kB / 0.7356 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1845, allocations: 68.75 kB / 0.7356 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.1856, allocations: 479.9 kB / 0.7361 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1857, allocations: 38.56 kB / 0.7361 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.1857, allocations: 4 kB / 0.7361 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006607/0.1863, allocations: 208.3 kB / 0.7363 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1864, allocations: 51.41 kB / 0.7364 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.1865, allocations: 171.2 kB / 0.7365 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1866, allocations: 29.7 kB / 0.7366 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.1867, allocations: 116.3 kB / 0.7367 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.1867, allocations: 43.62 kB / 0.7367 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/0.1868, allocations: 57.64 kB / 0.7368 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.187, allocations: 322.8 kB / 0.7371 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1872, allocations: 67.95 kB / 0.7372 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.1874, allocations: 114.6 kB / 0.7373 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.1879, allocations: 174.3 kB / 0.7374 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1879, allocations: 0 / 0.7374 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005938/0.1885, allocations: 249.3 kB / 0.7377 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1885, allocations: 4 kB / 0.7377 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1885, allocations: 0 / 0.7377 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1885, allocations: 4 kB / 0.7377 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.1888, allocations: 51.91 kB / 0.7377 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.1888, allocations: 4 kB / 0.7377 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1889, allocations: 31.81 kB / 0.7378 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.189, allocations: 12.09 kB / 0.7378 GB, free: 6.957 MB / 0.5606 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.0001125/0.1891, allocations: 125.7 kB / 0.7379 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.1891, allocations: 19.84 kB / 0.7379 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000478/0.1896, allocations: 170.9 kB / 0.7381 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1896, allocations: 4 kB / 0.7381 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1896, allocations: 0 / 0.7381 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1896, allocations: 7.984 kB / 0.7381 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.1898, allocations: 176.7 kB / 0.7382 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1898, allocations: 3.938 kB / 0.7383 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.19, allocations: 35.91 kB / 0.7383 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.19, allocations: 0 / 0.7383 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.19, allocations: 4 kB / 0.7383 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.19, allocations: 0 / 0.7383 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.19, allocations: 0 / 0.7383 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000469/0.1905, allocations: 259.3 kB / 0.7385 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.1905, allocations: 27.77 kB / 0.7386 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1905, allocations: 7.984 kB / 0.7386 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.1907, allocations: 11.98 kB / 0.7386 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1907, allocations: 15.92 kB / 0.7386 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1907, allocations: 4 kB / 0.7386 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.988e-05/0.1908, allocations: 112 kB / 0.7387 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1908, allocations: 0 / 0.7387 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003291/0.1912, allocations: 59.88 kB / 0.7388 GB, free: 5.859 MB / 0.5606 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.0009593/0.1921, allocations: 0.8539 MB / 0.7396 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.1926, allocations: 166.3 kB / 0.7398 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1926, allocations: 0 / 0.7398 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.1928, allocations: 62.69 kB / 0.7398 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.1932, allocations: 24.17 kB / 0.7398 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.1958, allocations: 1.951 MB / 0.7417 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.99e-05/0.1959, allocations: 89.48 kB / 0.7418 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.268e-05/0.196, allocations: 17.08 kB / 0.7418 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.196, allocations: 39.42 kB / 0.7419 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of SimCode: time 4.7e-07/0.196, allocations: 0 / 0.7419 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.2298, allocations: 4.938 MB / 0.7467 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.53, allocations: 12.95 kB / 0.7467 GB, free: 13.76 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.512573864776641] Failed to read output from testmodel.py, exit status != 0: 11.634449576027691 11.96501857 11.474838035 Calling exit ...