Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.002057/0.002057, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002603/0.002603, allocations: 214.3 kB / 22.25 MB, free: 5.242 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.785 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.003564/0.003564, allocations: 293 kB / 312.7 MB, free: 2.605 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.2/1.2, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.002949/0.002949, allocations: 104.7 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1784, allocations: 95.39 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002599/0.181, allocations: 1.452 MB / 0.8341 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.1817, allocations: 317.5 kB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.1817, allocations: 0 / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.1818, allocations: 0 / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.64e-05/0.1818, allocations: 7.938 kB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.1822, allocations: 99.72 kB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.116e-05/0.1823, allocations: 27.92 kB / 0.8345 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.1824, allocations: 11.98 kB / 0.8345 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.001e-05/0.1824, allocations: 7.922 kB / 0.8345 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.1825, allocations: 8 kB / 0.8345 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1825, allocations: 7.938 kB / 0.8345 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.1827, allocations: 115.8 kB / 0.8347 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.1827, allocations: 7.984 kB / 0.8347 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.1827, allocations: 4 kB / 0.8347 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.1829, allocations: 84.03 kB / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1829, allocations: 3.938 kB / 0.8347 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1829, allocations: 4 kB / 0.8348 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1829, allocations: 4 kB / 0.8348 GB, free: 6.148 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004433/0.1834, allocations: 274.2 kB / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1834, allocations: 13.94 kB / 0.835 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.1835, allocations: 34.75 kB / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.1835, allocations: 8.875 kB / 0.8351 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.1836, allocations: 110.5 kB / 0.8352 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1836, allocations: 4.312 kB / 0.8352 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.1836, allocations: 384 / 0.8352 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1838, allocations: 58.22 kB / 0.8352 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1838, allocations: 11.88 kB / 0.8352 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1838, allocations: 4 kB / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1838, allocations: 0 / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.184, allocations: 27.97 kB / 0.8353 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.1843, allocations: 212.1 kB / 0.8355 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1844, allocations: 46.44 kB / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.1845, allocations: 28.89 kB / 0.8356 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/0.185, allocations: 71.92 kB / 0.8356 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.185, allocations: 34.56 kB / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.185, allocations: 0 / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003326/0.1853, allocations: 77.64 kB / 0.8357 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1854, allocations: 55.34 kB / 0.8358 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.1855, allocations: 105.8 kB / 0.8359 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1855, allocations: 25.7 kB / 0.8359 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.1855, allocations: 88.09 kB / 0.836 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.1855, allocations: 3.953 kB / 0.836 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.1856, allocations: 13.72 kB / 0.836 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1857, allocations: 310.8 kB / 0.8363 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.1858, allocations: 28.09 kB / 0.8363 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/0.1859, allocations: 11.98 kB / 0.8363 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.186, allocations: 40.83 kB / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.186, allocations: 3.938 kB / 0.8364 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.1862, allocations: 69.59 kB / 0.8365 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1862, allocations: 8.094 kB / 0.8365 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.1862, allocations: 0 / 0.8365 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1862, allocations: 0 / 0.8365 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.1863, allocations: 11.98 kB / 0.8365 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1863, allocations: 0 / 0.8365 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.229e-05/0.1864, allocations: 7.984 kB / 0.8365 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1864, allocations: 0 / 0.8365 GB, free: 4.188 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 (2): * Single equations (assignments): 2 * 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.68e-05/0.1865, allocations: 110.4 kB / 0.8366 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.1865, allocations: 7.938 kB / 0.8366 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.1867, allocations: 72.97 kB / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1867, allocations: 0 / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1867, allocations: 0 / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1867, allocations: 0 / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.1869, allocations: 140.6 kB / 0.8368 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1869, allocations: 3.938 kB / 0.8368 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.1869, allocations: 7.984 kB / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1869, allocations: 0 / 0.8368 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1869, allocations: 4 kB / 0.8368 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1869, allocations: 4.031 kB / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1869, allocations: 0 / 0.8368 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1872, allocations: 167.4 kB / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-06/0.1872, allocations: 0 / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1872, allocations: 0 / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.1873, allocations: 11.98 kB / 0.837 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.1873, allocations: 4 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1873, allocations: 0 / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.1873, allocations: 95.47 kB / 0.8371 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 0 / 0.8371 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002532/0.1876, allocations: 27.94 kB / 0.8371 GB, free: 3.465 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 (2): * Single equations (assignments): 2 * 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.0006592/0.1883, allocations: 0.7318 MB / 0.8378 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1885, allocations: 35.95 kB / 0.8379 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1885, allocations: 0 / 0.8379 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.1885, allocations: 23.92 kB / 0.8379 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1888, allocations: 128 / 0.8379 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.1892, allocations: 148 kB / 0.838 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.675e-05/0.1892, allocations: 63.34 kB / 0.8381 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.1893, allocations: 0 / 0.8381 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1893, allocations: 11.44 kB / 0.8381 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1893, allocations: 0 / 0.8381 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.2175, allocations: 2.3 MB / 0.8403 GB, free: 204 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.11, allocations: 11.17 kB / 0.8403 GB, free: 196 kB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.304562869947404] Failed to read output from testmodel.py, exit status != 0: 11.213921079877764 11.230947081 11.044878278 Calling exit ...