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.001072/0.001072, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009842/0.0009842, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.001757/0.001757, allocations: 241.7 kB / 260.5 MB, free: 12.7 MB / 250.7 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 0.7358/0.7358, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.227e-05, allocations: 3.188 kB / 462.4 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002551/0.002573, allocations: 1.54 MB / 463.9 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005009/0.003074, allocations: 247.8 kB / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.003102, allocations: 0 / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.003129, allocations: 2.609 kB / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.003171, allocations: 1.641 kB / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.003481, allocations: 57.86 kB / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.003541, allocations: 24.5 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.592e-05/0.003607, allocations: 4.422 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.003662, allocations: 11.89 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.003698, allocations: 11.72 kB / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.003708, allocations: 2.781 kB / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.003884, allocations: 69.14 kB / 464.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.003899, allocations: 6.203 kB / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.313e-05/0.003913, allocations: 3.906 kB / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.004039, allocations: 64.77 kB / 464.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.004042, allocations: 0 / 464.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.004045, allocations: 0 / 464.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004048, allocations: 3.938 kB / 464.4 MB, free: 15.62 MB / 426.7 MB 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.0002853/0.004334, allocations: 245.8 kB / 464.6 MB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.004367, allocations: 10.78 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/0.004393, allocations: 3.109 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.032e-05/0.004474, allocations: 113.2 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.004483, allocations: 2.125 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-06/0.004488, allocations: 0.9688 kB / 464.8 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.004583, allocations: 52.47 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.004592, allocations: 5.797 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.004598, allocations: 384 / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.004603, allocations: 384 / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.004625, allocations: 9.422 kB / 464.8 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.004829, allocations: 154.9 kB / 465 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.004867, allocations: 20.45 kB / 465 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.00488, allocations: 8.094 kB / 465 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002958/0.005175, allocations: 76 kB / 465.1 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.005198, allocations: 31.84 kB / 465.1 MB, free: 14.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.0052, allocations: 1.094 kB / 465.1 MB, free: 14.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001032/0.005303, allocations: 40.09 kB / 465.2 MB, free: 14.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.005326, allocations: 56.16 kB / 465.2 MB, free: 14.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.005378, allocations: 104 kB / 465.3 MB, free: 14.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.005386, allocations: 27.55 kB / 465.3 MB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.005416, allocations: 85.83 kB / 465.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.005431, allocations: 11.36 kB / 465.4 MB, free: 14.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.005457, allocations: 13 kB / 465.5 MB, free: 14.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.005528, allocations: 313.5 kB / 465.8 MB, free: 14.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.005536, allocations: 3.281 kB / 465.8 MB, free: 14.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.005544, allocations: 2.703 kB / 465.8 MB, free: 14.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/0.005567, allocations: 13.94 kB / 465.8 MB, free: 14.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005569, allocations: 0 / 465.8 MB, free: 14.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.739e-05/0.005626, allocations: 38.67 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.005639, allocations: 7.016 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.005643, allocations: 2.344 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.005656, allocations: 0.75 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.005708, allocations: 10.91 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.005712, allocations: 0.5156 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.00573, allocations: 4.391 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.005734, allocations: 0 / 465.8 MB, free: 14.27 MB / 426.7 MB 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 5.528e-05/0.005789, allocations: 112.4 kB / 466 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.005805, allocations: 5.438 kB / 466 MB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.005875, allocations: 53.75 kB / 466 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.005879, allocations: 3.812 kB / 466 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.005882, allocations: 4.641 kB / 466 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.005885, allocations: 0 / 466 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.987e-05/0.005965, allocations: 68.55 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.005966, allocations: 0.6562 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.005992, allocations: 7.438 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005994, allocations: 0 / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.005998, allocations: 3.203 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.005999, allocations: 0 / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006, allocations: 0 / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.855e-05/0.006068, allocations: 137.1 kB / 466.2 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.006077, allocations: 10.36 kB / 466.2 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-06/0.006084, allocations: 2.594 kB / 466.2 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.006118, allocations: 3.562 kB / 466.2 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/0.006145, allocations: 3.375 kB / 466.2 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.006148, allocations: 2.375 kB / 466.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.361e-05/0.006161, allocations: 12.16 kB / 466.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006161, allocations: 0.5 kB / 466.3 MB, free: 13.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000139/0.0063, allocations: 16 kB / 466.3 MB, free: 13.86 MB / 426.7 MB 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.0001464/0.006447, allocations: 106.1 kB / 466.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.294e-05/0.0065, allocations: 17.95 kB / 466.4 MB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.006502, allocations: 0 / 466.4 MB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.006522, allocations: 9.344 kB / 466.4 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.006646, allocations: 4.016 kB / 466.4 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.006844, allocations: 103.9 kB / 466.5 MB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.006876, allocations: 55.27 kB / 466.6 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.633e-05/0.006892, allocations: 6.25 kB / 466.6 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.00693, allocations: 50 kB / 466.6 MB, free: 13.55 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.006931, allocations: 1 kB / 466.6 MB, free: 13.55 MB / 426.7 MB Notification: Performance of Templates: time 0.002535/0.009467, allocations: 0.7246 MB / 467.3 MB, free: 13.41 MB / 426.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.58218291727826]