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.0009122/0.0009122, allocations: 80.94 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.0009779/0.0009779, allocations: 177 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.441 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.002609/0.002609, allocations: 239.8 kB / 260.5 MB, free: 12.66 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.6899/0.6899, allocations: 138.4 MB / 402.2 MB, free: 0.5156 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.984e-06/1.984e-06, allocations: 1.156 kB / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.659e-05, allocations: 3.438 kB / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.003266/0.003293, allocations: 1.494 MB / 463.8 MB, free: 15.97 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000585/0.003878, allocations: 234.7 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.00391, allocations: 1.156 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.00394, allocations: 1.328 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.00399, allocations: 2.688 kB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.004417, allocations: 65.81 kB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.772e-05/0.004485, allocations: 20.91 kB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.004559, allocations: 7.625 kB / 464.1 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.004618, allocations: 10.89 kB / 464.1 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.004653, allocations: 11.58 kB / 464.2 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.004664, allocations: 3.609 kB / 464.2 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.004806, allocations: 59.42 kB / 464.2 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.00482, allocations: 1.516 kB / 464.2 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.004836, allocations: 8.469 kB / 464.2 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.004973, allocations: 56.47 kB / 464.3 MB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004975, allocations: 2.141 kB / 464.3 MB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004976, allocations: 0 / 464.3 MB, free: 15.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.004981, allocations: 1.062 kB / 464.3 MB, free: 15.75 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.0003467/0.005328, allocations: 244.1 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.005376, allocations: 11.17 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.005406, allocations: 4.062 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.503e-05/0.005501, allocations: 113.6 kB / 464.6 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.005513, allocations: 9.094 kB / 464.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.005524, allocations: 1.562 kB / 464.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.005639, allocations: 61.3 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.005646, allocations: 192 / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.005655, allocations: 1.125 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.00566, allocations: 384 / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.005681, allocations: 7.875 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.005895, allocations: 141 kB / 464.9 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.231e-05/0.005948, allocations: 30.94 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.005962, allocations: 12.05 kB / 464.9 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.006278, allocations: 65.06 kB / 465 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.006314, allocations: 33.17 kB / 465 MB, free: 15.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.006315, allocations: 0 / 465 MB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001231/0.006438, allocations: 42.05 kB / 465 MB, free: 15.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.006476, allocations: 60 kB / 465.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.006547, allocations: 102.3 kB / 465.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.006558, allocations: 27.62 kB / 465.2 MB, free: 14.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.006594, allocations: 86.86 kB / 465.3 MB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.006614, allocations: 5.391 kB / 465.3 MB, free: 14.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.006638, allocations: 12.86 kB / 465.3 MB, free: 14.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.006719, allocations: 314.3 kB / 465.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-06/0.006728, allocations: 1.781 kB / 465.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.067e-05/0.006739, allocations: 3.625 kB / 465.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.006763, allocations: 12.75 kB / 465.7 MB, free: 14.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006766, allocations: 0 / 465.7 MB, free: 14.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.135e-05/0.006817, allocations: 43.97 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.006834, allocations: 8.422 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006839, allocations: 1.453 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.006851, allocations: 0 / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.006909, allocations: 11.36 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006912, allocations: 0.9375 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.00693, allocations: 4.938 kB / 465.7 MB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.006935, allocations: 2.469 kB / 465.7 MB, free: 14.38 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.418e-05/0.006989, allocations: 112.1 kB / 465.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.007002, allocations: 2.172 kB / 465.8 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-05/0.007073, allocations: 49.75 kB / 465.9 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.007075, allocations: 0 / 465.9 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.007078, allocations: 5.031 kB / 465.9 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007081, allocations: 0.7969 kB / 465.9 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.024e-05/0.007161, allocations: 67.31 kB / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007162, allocations: 0 / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.007183, allocations: 13.11 kB / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007186, allocations: 2.156 kB / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-06/0.00719, allocations: 0 / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.007191, allocations: 4.562 kB / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007192, allocations: 0.9844 kB / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.708e-05/0.007269, allocations: 131.4 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.007276, allocations: 9.531 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.007284, allocations: 0.6562 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.007312, allocations: 4 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.007339, allocations: 2.75 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.007342, allocations: 4 kB / 466.1 MB, free: 14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.261e-05/0.007355, allocations: 15.06 kB / 466.1 MB, free: 13.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007355, allocations: 1.844 kB / 466.1 MB, free: 13.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001425/0.007497, allocations: 18.55 kB / 466.2 MB, free: 13.98 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.0001753/0.007673, allocations: 108.3 kB / 466.3 MB, free: 13.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.163e-05/0.007734, allocations: 10.64 kB / 466.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.007737, allocations: 1.25 kB / 466.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.461e-05/0.007751, allocations: 9.719 kB / 466.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.007879, allocations: 6.688 kB / 466.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.008098, allocations: 104.4 kB / 466.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.098e-05/0.008129, allocations: 54.33 kB / 466.5 MB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.479e-05/0.008144, allocations: 5.875 kB / 466.5 MB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.008184, allocations: 50.73 kB / 466.5 MB, free: 13.67 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008185, allocations: 2.031 kB / 466.5 MB, free: 13.67 MB / 426.7 MB Notification: Performance of Templates: time 0.00253/0.01071, allocations: 0.7196 MB / 467.2 MB, free: 13.55 MB / 426.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.5701775732450187]