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.001337/0.001337, allocations: 109.1 kB / 17.12 MB, free: 5.926 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.001487/0.001487, allocations: 205 kB / 20.09 MB, free: 2.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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.955/0.955, allocations: 150 MB / 459.5 MB, free: 5.68 MB / 350.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.002011/0.002011, allocations: 69.73 kB / 0.6361 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1638, allocations: 89.13 MB / 0.7232 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006957/0.1707, allocations: 4.639 MB / 0.7277 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.172, allocations: 0.8178 MB / 0.7285 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.1722, allocations: 0 / 0.7285 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.1724, allocations: 31.77 kB / 0.7285 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.1725, allocations: 35.72 kB / 0.7286 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.1732, allocations: 167.4 kB / 0.7287 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1734, allocations: 175.4 kB / 0.7289 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1735, allocations: 17.11 kB / 0.7289 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1737, allocations: 91.62 kB / 0.729 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1739, allocations: 71.73 kB / 0.7291 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.1739, allocations: 12 kB / 0.7291 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.1743, allocations: 155.8 kB / 0.7292 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.1743, allocations: 31.91 kB / 0.7293 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.1744, allocations: 71.64 kB / 0.7293 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.1749, allocations: 243 kB / 0.7296 GB, free: 13.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1749, allocations: 0 / 0.7296 GB, free: 13.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1749, allocations: 0 / 0.7296 GB, free: 13.49 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.1749, allocations: 4 kB / 0.7296 GB, free: 13.49 MB / 0.545 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.001001/0.1759, allocations: 488.4 kB / 0.73 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1759, allocations: 8.031 kB / 0.73 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.176, allocations: 38.75 kB / 0.7301 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.176, allocations: 24.81 kB / 0.7301 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1762, allocations: 180.8 kB / 0.7303 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1762, allocations: 11.94 kB / 0.7303 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.1763, allocations: 8 kB / 0.7303 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.1766, allocations: 131.2 kB / 0.7304 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.1766, allocations: 0 / 0.7304 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1766, allocations: 0 / 0.7304 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1766, allocations: 0 / 0.7304 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.1771, allocations: 139.9 kB / 0.7305 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1781, allocations: 476.4 kB / 0.731 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1784, allocations: 118.5 kB / 0.7311 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.1786, allocations: 64.75 kB / 0.7312 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.18, allocations: 0.9683 MB / 0.7321 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.18, allocations: 30.56 kB / 0.7321 GB, free: 10.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.18, allocations: 0 / 0.7321 GB, free: 10.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0006946/0.1807, allocations: 217.3 kB / 0.7324 GB, free: 10.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1808, allocations: 55.41 kB / 0.7324 GB, free: 10.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1809, allocations: 156.8 kB / 0.7326 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1809, allocations: 37.64 kB / 0.7326 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.181, allocations: 112.4 kB / 0.7327 GB, free: 9.922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.1811, allocations: 39.67 kB / 0.7327 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.086e-05/0.1811, allocations: 53.66 kB / 0.7328 GB, free: 9.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1813, allocations: 322.8 kB / 0.7331 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1815, allocations: 75.94 kB / 0.7332 GB, free: 9.426 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.1818, allocations: 108.2 kB / 0.7333 GB, free: 9.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.1822, allocations: 178.5 kB / 0.7334 GB, free: 9.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1822, allocations: 0 / 0.7334 GB, free: 9.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005813/0.1828, allocations: 249.3 kB / 0.7337 GB, free: 8.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1828, allocations: 4 kB / 0.7337 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1828, allocations: 0 / 0.7337 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1828, allocations: 7.984 kB / 0.7337 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1831, allocations: 51.91 kB / 0.7337 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1831, allocations: 4 kB / 0.7337 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1833, allocations: 27.83 kB / 0.7338 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.1833, allocations: 20.08 kB / 0.7338 GB, free: 8.762 MB / 0.545 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.0001039/0.1834, allocations: 126.2 kB / 0.7339 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.1834, allocations: 19.84 kB / 0.7339 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.1839, allocations: 174.8 kB / 0.7341 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1839, allocations: 0 / 0.7341 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1839, allocations: 8 kB / 0.7341 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1839, allocations: 0 / 0.7341 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.1842, allocations: 205.6 kB / 0.7343 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.1842, allocations: 3.938 kB / 0.7343 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.1843, allocations: 35.91 kB / 0.7343 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1843, allocations: 4 kB / 0.7343 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1843, allocations: 0 / 0.7343 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1843, allocations: 0 / 0.7343 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1843, allocations: 0 / 0.7343 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.1848, allocations: 255.3 kB / 0.7346 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.1849, allocations: 112.9 kB / 0.7347 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.1849, allocations: 4 kB / 0.7347 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1851, allocations: 11.98 kB / 0.7347 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.1851, allocations: 19.86 kB / 0.7347 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1851, allocations: 4 kB / 0.7347 GB, free: 7.699 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.839e-05/0.1852, allocations: 121.8 kB / 0.7348 GB, free: 7.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1852, allocations: 0 / 0.7348 GB, free: 7.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003444/0.1856, allocations: 55.88 kB / 0.7349 GB, free: 7.527 MB / 0.545 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.0009785/0.1865, allocations: 0.8449 MB / 0.7357 GB, free: 6.656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.1871, allocations: 174.9 kB / 0.7359 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1871, allocations: 0 / 0.7359 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.1872, allocations: 59.95 kB / 0.7359 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1876, allocations: 24.17 kB / 0.736 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.1904, allocations: 1.95 MB / 0.7379 GB, free: 4.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1908, allocations: 0.7122 MB / 0.7386 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.639e-05/0.1908, allocations: 19.22 kB / 0.7386 GB, free: 3.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.1909, allocations: 43.42 kB / 0.7386 GB, free: 3.562 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.1909, allocations: 0 / 0.7386 GB, free: 3.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.2182, allocations: 4.289 MB / 0.7428 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.225, allocations: 20.55 kB / 0.7428 GB, free: 15.4 MB / 0.5606 GB " [Timeout remaining time 652] (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: 12.10747552709654] Failed to read output from testmodel.py, exit status != 0: 8.294657830847427 8.3194192 8.139769741 Calling exit ...