Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.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.001408/0.001408, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00158/0.00158, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.00252/0.00252, allocations: 283.5 kB / 313.5 MB, free: 2.617 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.249/1.249, allocations: 180.6 MB / 0.5377 GB, free: 14.66 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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="cs",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.002742/0.002742, allocations: 95.31 kB / 0.7403 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1801, allocations: 95.39 MB / 0.8334 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001943/0.182, allocations: 0.5999 MB / 0.834 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005693/0.1826, allocations: 175.8 kB / 0.8342 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.1826, allocations: 0 / 0.8342 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.1826, allocations: 0 / 0.8342 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.1826, allocations: 3.938 kB / 0.8342 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.1831, allocations: 59.83 kB / 0.8343 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.323e-05/0.1831, allocations: 0 / 0.8343 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.1832, allocations: 0 / 0.8343 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.1832, allocations: 4 kB / 0.8343 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.543e-05/0.1832, allocations: 3.984 kB / 0.8343 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.1832, allocations: 0 / 0.8343 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.1834, allocations: 63.88 kB / 0.8343 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.1835, allocations: 0 / 0.8343 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.285e-05/0.1835, allocations: 0 / 0.8343 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1836, allocations: 40.16 kB / 0.8344 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1836, allocations: 0 / 0.8344 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1836, allocations: 0 / 0.8344 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.1837, allocations: 0 / 0.8344 GB, free: 7.363 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.0004027/0.1841, allocations: 246.4 kB / 0.8346 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1841, allocations: 17.94 kB / 0.8346 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.963e-05/0.1841, allocations: 192 / 0.8346 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.1842, allocations: 34.69 kB / 0.8347 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.1842, allocations: 0.9375 kB / 0.8347 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.1843, allocations: 106.5 kB / 0.8348 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1843, allocations: 4.312 kB / 0.8348 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.1843, allocations: 384 / 0.8348 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.1844, allocations: 34 kB / 0.8348 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1844, allocations: 4 kB / 0.8348 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1844, allocations: 0 / 0.8348 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1844, allocations: 0 / 0.8348 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.1845, allocations: 4 kB / 0.8348 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.1846, allocations: 120.8 kB / 0.8349 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.1847, allocations: 22.45 kB / 0.8349 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.1847, allocations: 4.859 kB / 0.8349 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007434/0.1855, allocations: 84 kB / 0.835 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1855, allocations: 38.5 kB / 0.8351 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.1855, allocations: 0 / 0.8351 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001588/0.1857, allocations: 33.7 kB / 0.8351 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.1857, allocations: 55.34 kB / 0.8351 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.621e-05/0.1858, allocations: 89.86 kB / 0.8352 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1858, allocations: 33.69 kB / 0.8353 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.1858, allocations: 80.14 kB / 0.8353 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1859, allocations: 0 / 0.8353 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.1859, allocations: 9.719 kB / 0.8353 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1861, allocations: 314.8 kB / 0.8356 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.1861, allocations: 4.125 kB / 0.8356 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.1861, allocations: 0 / 0.8356 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.1861, allocations: 12.86 kB / 0.8357 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1861, allocations: 0 / 0.8357 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.374e-05/0.1862, allocations: 37.62 kB / 0.8357 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1862, allocations: 7.938 kB / 0.8357 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1862, allocations: 4 kB / 0.8357 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1862, allocations: 0 / 0.8357 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.1863, allocations: 0 / 0.8357 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1863, allocations: 96 / 0.8357 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.1863, allocations: 4 kB / 0.8357 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1863, allocations: 4 kB / 0.8357 GB, free: 5.785 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 8.351e-05/0.1864, allocations: 106.5 kB / 0.8358 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.1864, allocations: 3.938 kB / 0.8358 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.1865, allocations: 40.69 kB / 0.8359 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1865, allocations: 3.938 kB / 0.8359 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1865, allocations: 0 / 0.8359 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1865, allocations: 4 kB / 0.8359 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.1866, allocations: 116.8 kB / 0.836 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1866, allocations: 4.031 kB / 0.836 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.1866, allocations: 3.938 kB / 0.836 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1866, allocations: 7.938 kB / 0.836 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1866, allocations: 3.984 kB / 0.836 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1866, allocations: 0 / 0.836 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1866, allocations: 0 / 0.836 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.994e-05/0.1867, allocations: 57.14 kB / 0.8361 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-06/0.1867, allocations: 0 / 0.8361 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1867, allocations: 3.938 kB / 0.8361 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.1868, allocations: 0 / 0.8361 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.1868, allocations: 7.922 kB / 0.8361 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1868, allocations: 4.031 kB / 0.8361 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.1868, allocations: 79.28 kB / 0.8361 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1868, allocations: 0 / 0.8361 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002129/0.187, allocations: 11.94 kB / 0.8362 GB, free: 5.258 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.0005342/0.1876, allocations: 0.6162 MB / 0.8368 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.608e-05/0.1876, allocations: 12.03 kB / 0.8368 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1876, allocations: 0 / 0.8368 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/0.1876, allocations: 3.984 kB / 0.8368 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1878, allocations: 4 kB / 0.8368 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.1881, allocations: 110.7 kB / 0.8369 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.1882, allocations: 51.36 kB / 0.8369 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.229e-05/0.1882, allocations: 3.984 kB / 0.8369 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.1882, allocations: 11.44 kB / 0.8369 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.1882, allocations: 0 / 0.8369 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.2099, allocations: 1.321 MB / 0.8382 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.18, allocations: 9.062 kB / 0.8382 GB, free: 3.176 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.506111419061199] Failed to read output from testmodel.py, exit status != 0: 11.341482653049752 11.363571479 11.175819588 Calling exit ...