Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001502/0.001502, allocations: 110.2 kB / 19.69 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.001792/0.001792, allocations: 215.1 kB / 23.01 MB, free: 4.566 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.363/1.363, allocations: 230.6 MB / 256.8 MB, free: 8 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.002425/0.002425, allocations: 292.1 kB / 313.5 MB, free: 2.82 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.162/1.162, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.00284/0.00284, allocations: 109.7 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1924, allocations: 95.38 MB / 0.834 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002621/0.195, allocations: 1.467 MB / 0.8354 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006197/0.1957, allocations: 252.1 kB / 0.8356 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.1957, allocations: 0 / 0.8356 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.1957, allocations: 0 / 0.8356 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.1958, allocations: 3.938 kB / 0.8356 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.1961, allocations: 63.83 kB / 0.8357 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.1962, allocations: 23.86 kB / 0.8357 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1963, allocations: 11.98 kB / 0.8357 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.1964, allocations: 8 kB / 0.8357 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.1964, allocations: 11.92 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.1964, allocations: 0 / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.1966, allocations: 63.88 kB / 0.8358 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.1966, allocations: 4 kB / 0.8358 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.1966, allocations: 11.94 kB / 0.8358 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1968, allocations: 51.84 kB / 0.8359 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1968, allocations: 4 kB / 0.8359 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1968, allocations: 0 / 0.8359 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.1968, allocations: 0 / 0.8359 GB, free: 6.125 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.0004915/0.1973, allocations: 270.2 kB / 0.8361 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1973, allocations: 17.28 kB / 0.8362 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1974, allocations: 4.891 kB / 0.8362 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.1975, allocations: 106.5 kB / 0.8363 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1975, allocations: 384 / 0.8363 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1975, allocations: 8.312 kB / 0.8363 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1977, allocations: 51.91 kB / 0.8363 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1977, allocations: 192 / 0.8363 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1977, allocations: 7.938 kB / 0.8363 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1977, allocations: 0 / 0.8363 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1979, allocations: 35.95 kB / 0.8364 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.1982, allocations: 220 kB / 0.8366 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1984, allocations: 50.42 kB / 0.8366 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.1984, allocations: 16.91 kB / 0.8366 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005329/0.199, allocations: 83.92 kB / 0.8367 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.199, allocations: 38.55 kB / 0.8368 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.199, allocations: 0 / 0.8368 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000328/0.1993, allocations: 73.66 kB / 0.8368 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1994, allocations: 55.41 kB / 0.8369 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.1995, allocations: 109.9 kB / 0.837 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1995, allocations: 25.7 kB / 0.837 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.1995, allocations: 84.09 kB / 0.8371 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.1995, allocations: 3.953 kB / 0.8371 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1996, allocations: 21.7 kB / 0.8371 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1997, allocations: 310.8 kB / 0.8374 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.1998, allocations: 19.98 kB / 0.8374 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.628e-05/0.1998, allocations: 15.98 kB / 0.8374 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2, allocations: 40.81 kB / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2, allocations: 0 / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.2002, allocations: 61.8 kB / 0.8375 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2002, allocations: 8 kB / 0.8376 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2002, allocations: 12.02 kB / 0.8376 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2002, allocations: 3.984 kB / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.2003, allocations: 4 kB / 0.8376 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2003, allocations: 0 / 0.8376 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.2003, allocations: 15.92 kB / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.2003, allocations: 4 kB / 0.8376 GB, free: 4.195 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.694e-05/0.2004, allocations: 110.4 kB / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.2004, allocations: 0 / 0.8377 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2007, allocations: 76.97 kB / 0.8378 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2007, allocations: 0 / 0.8378 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2007, allocations: 3.984 kB / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2007, allocations: 0 / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2008, allocations: 132.6 kB / 0.8379 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2008, allocations: 0 / 0.8379 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.75e-05/0.2009, allocations: 15.92 kB / 0.8379 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2009, allocations: 0 / 0.8379 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.2009, allocations: 4.031 kB / 0.8379 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2009, allocations: 0 / 0.8379 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2009, allocations: 0 / 0.8379 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2012, allocations: 167.4 kB / 0.8381 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.2012, allocations: 4 kB / 0.8381 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.2012, allocations: 0 / 0.8381 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.2013, allocations: 12.02 kB / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.2013, allocations: 0 / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2013, allocations: 0 / 0.8381 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.514e-05/0.2014, allocations: 79.28 kB / 0.8382 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2014, allocations: 0 / 0.8382 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002365/0.2016, allocations: 27.92 kB / 0.8382 GB, free: 3.496 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.0001896/0.2018, allocations: 111.2 kB / 0.8383 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.202, allocations: 39.89 kB / 0.8383 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.202, allocations: 0 / 0.8383 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.2021, allocations: 15.98 kB / 0.8384 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.2023, allocations: 18.17 kB / 0.8384 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.2026, allocations: 127.5 kB / 0.8385 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.2029, allocations: 0.6768 MB / 0.8392 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.203, allocations: 7.438 kB / 0.8392 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.203, allocations: 0 / 0.8392 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of Templates: time 0.002432/0.2054, allocations: 0.7805 MB / 0.8399 GB, free: 1.66 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.176855273079127] Failed to read output from testmodel.py, exit status != 0: 0.21251089498400688 0.22679114 0.027138332 Calling exit ...