Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.0008657/0.0008657, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001205/0.001205, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9796/0.9796, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.002049/0.002049, allocations: 233.1 kB / 260.5 MB, free: 12.89 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.7288/0.7288, allocations: 138.4 MB / 455.4 MB, free: 1.559 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.659e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002045/0.002071, allocations: 1.495 MB / 0.5565 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004421/0.002513, allocations: 228.1 kB / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.002548, allocations: 0 / 0.5567 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.002575, allocations: 3.938 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.002616, allocations: 4 kB / 0.5567 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.002975, allocations: 67.69 kB / 0.5568 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.003042, allocations: 23.92 kB / 0.5568 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.147e-05/0.003123, allocations: 4 kB / 0.5568 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.003172, allocations: 11.98 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.046e-05/0.003203, allocations: 3.984 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.003215, allocations: 4 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.003341, allocations: 63.81 kB / 0.5569 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.003356, allocations: 4 kB / 0.5569 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.191e-05/0.003378, allocations: 11.98 kB / 0.5569 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.00351, allocations: 55.86 kB / 0.557 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003513, allocations: 0 / 0.557 GB, free: 14.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003514, allocations: 0 / 0.557 GB, free: 14.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.003518, allocations: 0 / 0.557 GB, free: 14.9 MB / 490.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.0003377/0.003855, allocations: 368.5 kB / 0.5573 GB, free: 14.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.003899, allocations: 12.75 kB / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.003936, allocations: 0.9375 kB / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.998e-05/0.004026, allocations: 116.6 kB / 0.5574 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.004037, allocations: 384 / 0.5574 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.004046, allocations: 4.312 kB / 0.5574 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.004159, allocations: 58.95 kB / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004166, allocations: 4.172 kB / 0.5575 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.004175, allocations: 4.375 kB / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.004181, allocations: 384 / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.09e-05/0.004212, allocations: 3.938 kB / 0.5575 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.004483, allocations: 247.8 kB / 0.5577 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.227e-05/0.004536, allocations: 39.03 kB / 0.5578 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.004558, allocations: 11.67 kB / 0.5578 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.004874, allocations: 75.98 kB / 0.5579 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.004895, allocations: 33.39 kB / 0.5579 GB, free: 13.81 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.004896, allocations: 0 / 0.5579 GB, free: 13.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.005039, allocations: 45.62 kB / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.005066, allocations: 59.34 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.005132, allocations: 153.9 kB / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.005142, allocations: 25.7 kB / 0.5582 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.005182, allocations: 139 kB / 0.5583 GB, free: 13.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.005198, allocations: 3.953 kB / 0.5583 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.005223, allocations: 19.38 kB / 0.5583 GB, free: 13.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.005344, allocations: 496.1 kB / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.00536, allocations: 4 kB / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.067e-05/0.005371, allocations: 0 / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/0.005401, allocations: 11.69 kB / 0.5588 GB, free: 12.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.005404, allocations: 0 / 0.5588 GB, free: 12.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.93e-05/0.005473, allocations: 45.69 kB / 0.5589 GB, free: 12.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.00549, allocations: 12.03 kB / 0.5589 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.005497, allocations: 3.938 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005509, allocations: 0 / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.77e-05/0.005577, allocations: 4 kB / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.005583, allocations: 0 / 0.5589 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.005603, allocations: 7.984 kB / 0.5589 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.005609, allocations: 3.938 kB / 0.5589 GB, free: 12.72 MB / 490.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 7.096e-05/0.00568, allocations: 156.6 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.005695, allocations: 3.953 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/0.005781, allocations: 48.94 kB / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005783, allocations: 4.031 kB / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.005787, allocations: 0 / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.00579, allocations: 0 / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.92e-05/0.005889, allocations: 116.6 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.00589, allocations: 0 / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.005914, allocations: 11.94 kB / 0.5592 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005915, allocations: 0 / 0.5592 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.005921, allocations: 4 kB / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.005923, allocations: 3.938 kB / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005924, allocations: 0 / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.811e-05/0.006012, allocations: 187.9 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.00602, allocations: 4 kB / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.00603, allocations: 0 / 0.5594 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.006062, allocations: 11.92 kB / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.006095, allocations: 0 / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.006097, allocations: 0 / 0.5594 GB, free: 12.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.127e-05/0.006138, allocations: 127.2 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006138, allocations: 0 / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.006301, allocations: 19.92 kB / 0.5596 GB, free: 11.96 MB / 490.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.000157/0.006458, allocations: 115.3 kB / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.006535, allocations: 23.61 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.006536, allocations: 0 / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.006552, allocations: 11.69 kB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.006729, allocations: 8 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.006981, allocations: 117.5 kB / 0.5598 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.007017, allocations: 55.36 kB / 0.5599 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.503e-05/0.007032, allocations: 0 / 0.5599 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.007052, allocations: 8.5 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007053, allocations: 0 / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of Templates: time 0.002474/0.009527, allocations: 0.724 MB / 0.5606 GB, free: 10.85 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.633058649022132]