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.001252/0.001252, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001357/0.001357, allocations: 216.3 kB / 23.01 MB, free: 4.609 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.002481/0.002481, allocations: 284.8 kB / 313.5 MB, free: 2.828 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.194/1.194, allocations: 180.6 MB / 0.5377 GB, free: 13.09 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") [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.002807/0.002807, allocations: 103.1 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1797, allocations: 95.38 MB / 0.834 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001786/0.1815, allocations: 0.596 MB / 0.8346 GB, free: 7.516 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0005015/0.182, allocations: 203.7 kB / 0.8348 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.669e-05/0.182, allocations: 0 / 0.8348 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.182, allocations: 0 / 0.8348 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.182, allocations: 0 / 0.8348 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.1824, allocations: 51.83 kB / 0.8348 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 4.496e-05/0.1824, allocations: 4 kB / 0.8348 GB, free: 7.262 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1825, allocations: 7.984 kB / 0.8348 GB, free: 7.254 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.1825, allocations: 0 / 0.8348 GB, free: 7.254 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 1.914e-05/0.1825, allocations: 0 / 0.8348 GB, free: 7.254 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-06/0.1825, allocations: 0 / 0.8348 GB, free: 7.254 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1827, allocations: 63.88 kB / 0.8349 GB, free: 7.191 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.553e-06/0.1827, allocations: 0 / 0.8349 GB, free: 7.191 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.1827, allocations: 0 / 0.8349 GB, free: 7.191 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1828, allocations: 43.81 kB / 0.8349 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1828, allocations: 4 kB / 0.8349 GB, free: 7.145 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1828, allocations: 0 / 0.8349 GB, free: 7.145 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1828, allocations: 0 / 0.8349 GB, free: 7.145 MB / 0.5763 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.0003376/0.1832, allocations: 242.4 kB / 0.8352 GB, free: 6.875 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1832, allocations: 13.34 kB / 0.8352 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.1832, allocations: 0.9375 kB / 0.8352 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.1833, allocations: 106.5 kB / 0.8353 GB, free: 6.734 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1833, allocations: 384 / 0.8353 GB, free: 6.734 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-06/0.1833, allocations: 384 / 0.8353 GB, free: 6.734 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.1834, allocations: 38.19 kB / 0.8353 GB, free: 6.691 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1834, allocations: 192 / 0.8353 GB, free: 6.691 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1834, allocations: 7.938 kB / 0.8353 GB, free: 6.684 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1834, allocations: 0 / 0.8353 GB, free: 6.684 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.1835, allocations: 0 / 0.8353 GB, free: 6.684 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.1836, allocations: 116.8 kB / 0.8354 GB, free: 6.527 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 4.819e-05/0.1836, allocations: 18.58 kB / 0.8355 GB, free: 6.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.1837, allocations: 4.859 kB / 0.8355 GB, free: 6.492 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.1842, allocations: 87.94 kB / 0.8355 GB, free: 6.406 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.1843, allocations: 42.48 kB / 0.8356 GB, free: 6.355 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1843, allocations: 0 / 0.8356 GB, free: 6.355 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.1844, allocations: 37.62 kB / 0.8356 GB, free: 6.312 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1845, allocations: 51.41 kB / 0.8357 GB, free: 6.25 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.1845, allocations: 93.98 kB / 0.8358 GB, free: 6.148 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1845, allocations: 25.7 kB / 0.8358 GB, free: 6.117 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.1846, allocations: 80.14 kB / 0.8359 GB, free: 6.035 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1846, allocations: 0 / 0.8359 GB, free: 6.035 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.1846, allocations: 17.72 kB / 0.8359 GB, free: 6.012 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1848, allocations: 310.8 kB / 0.8362 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-06/0.1848, allocations: 0 / 0.8362 GB, free: 5.699 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.1849, allocations: 4 kB / 0.8362 GB, free: 5.695 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.1849, allocations: 16.8 kB / 0.8362 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1849, allocations: 4 kB / 0.8362 GB, free: 5.672 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.408e-05/0.1849, allocations: 37.69 kB / 0.8362 GB, free: 5.629 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.185, allocations: 4 kB / 0.8362 GB, free: 5.625 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.185, allocations: 0 / 0.8362 GB, free: 5.625 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.185, allocations: 3.938 kB / 0.8362 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.185, allocations: 0 / 0.8362 GB, free: 5.621 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.185, allocations: 4 kB / 0.8362 GB, free: 5.617 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.185, allocations: 4 kB / 0.8363 GB, free: 5.613 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.185, allocations: 32 / 0.8363 GB, free: 5.613 MB / 0.5763 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.958e-05/0.1851, allocations: 110.5 kB / 0.8364 GB, free: 5.496 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.1851, allocations: 0 / 0.8364 GB, free: 5.496 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.1852, allocations: 44.56 kB / 0.8364 GB, free: 5.445 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1852, allocations: 4 kB / 0.8364 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1852, allocations: 0 / 0.8364 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1852, allocations: 0 / 0.8364 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.1853, allocations: 120.8 kB / 0.8365 GB, free: 5.281 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1853, allocations: 0 / 0.8365 GB, free: 5.281 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.1853, allocations: 8.031 kB / 0.8365 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1853, allocations: 0 / 0.8365 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1853, allocations: 3.938 kB / 0.8365 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1853, allocations: 0 / 0.8365 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1853, allocations: 0 / 0.8365 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.858e-05/0.1854, allocations: 57.08 kB / 0.8366 GB, free: 5.195 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1854, allocations: 7.984 kB / 0.8366 GB, free: 5.188 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.1854, allocations: 3.938 kB / 0.8366 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.1854, allocations: 4.031 kB / 0.8366 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-06/0.1854, allocations: 0 / 0.8366 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1854, allocations: 0 / 0.8366 GB, free: 5.18 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.1855, allocations: 83.22 kB / 0.8367 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.1855, allocations: 0 / 0.8367 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002082/0.1857, allocations: 11.94 kB / 0.8367 GB, free: 5.086 MB / 0.5763 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.000196/0.1859, allocations: 119.2 kB / 0.8368 GB, free: 4.957 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 7.076e-05/0.1859, allocations: 4 kB / 0.8368 GB, free: 4.953 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1859, allocations: 0 / 0.8368 GB, free: 4.953 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/0.1859, allocations: 3.938 kB / 0.8368 GB, free: 4.949 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1861, allocations: 6.344 kB / 0.8368 GB, free: 4.945 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.1863, allocations: 110.4 kB / 0.8369 GB, free: 4.809 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1866, allocations: 0.673 MB / 0.8376 GB, free: 4.109 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.1866, allocations: 11.44 kB / 0.8376 GB, free: 4.098 MB / 0.5763 GB Notification: Performance of SimCode: time 3.21e-07/0.1866, allocations: 0 / 0.8376 GB, free: 4.098 MB / 0.5763 GB Notification: Performance of Templates: time 0.002054/0.1887, allocations: 0.5619 MB / 0.8381 GB, free: 3.535 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.037553648930043] Failed to read output from testmodel.py, exit status != 0: 0.19610190787352622 0.21077022 0.025009189 Calling exit ...