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.00121/0.00121, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001326/0.001326, allocations: 217 kB / 23.01 MB, free: 5 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.926/0.926, allocations: 150 MB / 463.2 MB, free: 10.52 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.002019/0.002019, allocations: 67.3 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 89.17 MB / 0.7283 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006303/0.1788, allocations: 4.681 MB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1799, allocations: 0.8217 MB / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.18, allocations: 0 / 0.7337 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.1802, allocations: 35.78 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.219e-05/0.1803, allocations: 31.7 kB / 0.7338 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.1809, allocations: 171.4 kB / 0.7339 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1811, allocations: 175.4 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1812, allocations: 17.3 kB / 0.7341 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1814, allocations: 91.62 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1815, allocations: 71.69 kB / 0.7343 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1815, allocations: 12 kB / 0.7343 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.1819, allocations: 163.8 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.1819, allocations: 27.91 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.182, allocations: 71.64 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.1824, allocations: 239.5 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1824, allocations: 0 / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1824, allocations: 4 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1824, allocations: 0 / 0.7348 GB, free: 10.7 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.0008984/0.1833, allocations: 409.4 kB / 0.7352 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1833, allocations: 8.031 kB / 0.7352 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.1834, allocations: 46.67 kB / 0.7352 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.1834, allocations: 20.84 kB / 0.7352 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1835, allocations: 114.4 kB / 0.7354 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.1836, allocations: 11.94 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1836, allocations: 12 kB / 0.7354 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.1839, allocations: 121.5 kB / 0.7355 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1839, allocations: 0 / 0.7355 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1839, allocations: 7.938 kB / 0.7355 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1839, allocations: 4 kB / 0.7355 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.1844, allocations: 143.9 kB / 0.7356 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1854, allocations: 439.5 kB / 0.7361 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.1857, allocations: 110.5 kB / 0.7362 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.1859, allocations: 64.81 kB / 0.7362 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.1871, allocations: 0.4998 MB / 0.7367 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.1871, allocations: 34.55 kB / 0.7367 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.1871, allocations: 0 / 0.7367 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006633/0.1878, allocations: 209.5 kB / 0.7369 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1878, allocations: 51.41 kB / 0.737 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.188, allocations: 167.2 kB / 0.7372 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.188, allocations: 33.7 kB / 0.7372 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.1881, allocations: 112.4 kB / 0.7373 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.1881, allocations: 39.67 kB / 0.7373 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.1882, allocations: 53.64 kB / 0.7374 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1883, allocations: 326.8 kB / 0.7377 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.1886, allocations: 75.94 kB / 0.7378 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.1888, allocations: 105.3 kB / 0.7379 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.1892, allocations: 174.3 kB / 0.738 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1892, allocations: 0 / 0.738 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005502/0.1898, allocations: 253.2 kB / 0.7383 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1898, allocations: 9.5 kB / 0.7383 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1898, allocations: 0 / 0.7383 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1898, allocations: 4 kB / 0.7383 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.1901, allocations: 55.89 kB / 0.7383 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1901, allocations: 4 kB / 0.7383 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1902, allocations: 27.83 kB / 0.7384 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.1902, allocations: 16.09 kB / 0.7384 GB, free: 6.766 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.0001085/0.1904, allocations: 121.8 kB / 0.7385 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.1904, allocations: 19.84 kB / 0.7385 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.1908, allocations: 174.9 kB / 0.7387 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1909, allocations: 4 kB / 0.7387 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1909, allocations: 4 kB / 0.7387 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1909, allocations: 3.984 kB / 0.7387 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1911, allocations: 180.7 kB / 0.7389 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1911, allocations: 3.938 kB / 0.7389 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1912, allocations: 35.92 kB / 0.7389 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1912, allocations: 3.984 kB / 0.7389 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1913, allocations: 0 / 0.7389 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1913, allocations: 0 / 0.7389 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1913, allocations: 0 / 0.7389 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.1917, allocations: 260.7 kB / 0.7392 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.1917, allocations: 31.77 kB / 0.7392 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.1918, allocations: 3.984 kB / 0.7392 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.1919, allocations: 11.98 kB / 0.7392 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1919, allocations: 19.97 kB / 0.7392 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.192, allocations: 4 kB / 0.7392 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.106e-05/0.192, allocations: 119.9 kB / 0.7393 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.192, allocations: 0 / 0.7393 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003273/0.1924, allocations: 55.88 kB / 0.7394 GB, free: 5.656 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.0009883/0.1934, allocations: 0.8488 MB / 0.7402 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.1939, allocations: 164.4 kB / 0.7404 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1939, allocations: 0 / 0.7404 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.194, allocations: 59.95 kB / 0.7404 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1944, allocations: 42.72 kB / 0.7405 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.1971, allocations: 1.947 MB / 0.7424 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.1974, allocations: 0.7122 MB / 0.7431 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.425e-05/0.1975, allocations: 17.08 kB / 0.7431 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.1976, allocations: 39.42 kB / 0.7431 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.1976, allocations: 0 / 0.7431 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.2284, allocations: 4.434 MB / 0.7475 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.9, allocations: 12.03 kB / 0.7475 GB, free: 13.41 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.868522826000117] Failed to read output from testmodel.py, exit status != 0: 11.006831868002337 11.324622184 10.845355014 Calling exit ...