Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.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.001622/0.001622, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001457/0.001457, allocations: 216.4 kB / 22.25 MB, free: 4.852 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.789 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.002465/0.002465, allocations: 296.2 kB / 312.7 MB, free: 2.598 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.166/1.166, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",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.002881/0.002881, allocations: 105 kB / 0.7395 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1792, allocations: 95.38 MB / 0.8327 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001712/0.1809, allocations: 0.5982 MB / 0.8333 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006019/0.1815, allocations: 259.5 kB / 0.8335 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.227e-05/0.1815, allocations: 4 kB / 0.8335 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.1815, allocations: 0 / 0.8335 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.1815, allocations: 0 / 0.8335 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.1819, allocations: 96.97 kB / 0.8336 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.304e-05/0.182, allocations: 0 / 0.8336 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.182, allocations: 0 / 0.8336 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.132e-05/0.182, allocations: 0 / 0.8336 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.689e-05/0.182, allocations: 4 kB / 0.8336 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.701e-06/0.182, allocations: 0 / 0.8336 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.1823, allocations: 119.7 kB / 0.8337 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1823, allocations: 11.94 kB / 0.8337 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.165e-05/0.1823, allocations: 0 / 0.8337 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.1825, allocations: 60.12 kB / 0.8338 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1825, allocations: 0 / 0.8338 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1825, allocations: 4 kB / 0.8338 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1825, allocations: 0 / 0.8338 GB, free: 7.152 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003196/0.1828, allocations: 258.2 kB / 0.834 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1828, allocations: 9.938 kB / 0.8341 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.1829, allocations: 34.69 kB / 0.8341 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.065e-05/0.1829, allocations: 4.938 kB / 0.8341 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.183, allocations: 106.5 kB / 0.8342 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.183, allocations: 4.375 kB / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.183, allocations: 384 / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.858e-05/0.1831, allocations: 38.25 kB / 0.8342 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1831, allocations: 3.938 kB / 0.8342 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.1831, allocations: 0 / 0.8342 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1831, allocations: 0 / 0.8342 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.1831, allocations: 0 / 0.8342 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.1832, allocations: 120.8 kB / 0.8344 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.1833, allocations: 18.52 kB / 0.8344 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.1833, allocations: 12.95 kB / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/0.1838, allocations: 75.91 kB / 0.8345 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1839, allocations: 34.56 kB / 0.8345 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1839, allocations: 0 / 0.8345 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.184, allocations: 33.64 kB / 0.8345 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.184, allocations: 59.34 kB / 0.8346 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.086e-05/0.1841, allocations: 97.92 kB / 0.8347 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1841, allocations: 25.7 kB / 0.8347 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.1841, allocations: 80.14 kB / 0.8348 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.1842, allocations: 0 / 0.8348 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.1842, allocations: 13.7 kB / 0.8348 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1843, allocations: 318.8 kB / 0.8351 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.1843, allocations: 0 / 0.8351 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.1843, allocations: 0 / 0.8351 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.1843, allocations: 8.859 kB / 0.8351 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1843, allocations: 0 / 0.8351 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.241e-05/0.1844, allocations: 37.7 kB / 0.8351 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1844, allocations: 8 kB / 0.8351 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1844, allocations: 3.938 kB / 0.8351 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1845, allocations: 3.984 kB / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.232e-05/0.1845, allocations: 0 / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1845, allocations: 0 / 0.8351 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.1845, allocations: 4 kB / 0.8352 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1845, allocations: 0 / 0.8352 GB, free: 5.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 7.26e-05/0.1846, allocations: 110.5 kB / 0.8353 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/0.1846, allocations: 0 / 0.8353 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.262e-05/0.1847, allocations: 44.66 kB / 0.8353 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1847, allocations: 0 / 0.8353 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1847, allocations: 7.984 kB / 0.8353 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1847, allocations: 0 / 0.8353 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.95e-05/0.1848, allocations: 112.8 kB / 0.8354 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1848, allocations: 0 / 0.8354 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.1848, allocations: 15.88 kB / 0.8354 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1848, allocations: 0 / 0.8354 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1848, allocations: 7.938 kB / 0.8354 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1848, allocations: 0 / 0.8354 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1848, allocations: 4.031 kB / 0.8354 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.573e-05/0.1849, allocations: 57.12 kB / 0.8355 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-06/0.1849, allocations: 0 / 0.8355 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.1849, allocations: 3.938 kB / 0.8355 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-06/0.1849, allocations: 0 / 0.8355 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.1849, allocations: 8 kB / 0.8355 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.1849, allocations: 3.938 kB / 0.8355 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.1849, allocations: 79.27 kB / 0.8356 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1849, allocations: 0 / 0.8356 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002018/0.1851, allocations: 23.94 kB / 0.8356 GB, free: 5.023 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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.0004998/0.1856, allocations: 0.6357 MB / 0.8362 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.1857, allocations: 4 kB / 0.8362 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1857, allocations: 96 / 0.8362 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.52e-06/0.1857, allocations: 4 kB / 0.8362 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1859, allocations: 4 kB / 0.8362 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.1862, allocations: 124.2 kB / 0.8364 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.1862, allocations: 51.36 kB / 0.8364 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.231e-05/0.1862, allocations: 4 kB / 0.8364 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.1862, allocations: 7.438 kB / 0.8364 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1862, allocations: 0 / 0.8364 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.2146, allocations: 1.908 MB / 0.8383 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.75, allocations: 3.125 kB / 0.8383 GB, free: 2.32 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.778775705955923] Failed to read output from testmodel.py, exit status != 0: 10.846923410892487 10.863072789 10.677664634 Calling exit ...