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.0009362/0.0009362, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002321, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009532/0.0009532, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001294/0.002247, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9741/0.9741, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08645/1.061, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 234.1 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001735/0.003854, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6918/0.6918, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07019/0.762, allocations: 42.4 MB / 426.7 MB, free: 5.832 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.332e-06/1.332e-06, allocations: 0 / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.408e-05, allocations: 2.312 kB / 428.1 MB, free: 4.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002835/0.002859, allocations: 1.545 MB / 429.6 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000412/0.003271, allocations: 235.9 kB / 429.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.003302, allocations: 0 / 429.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.003329, allocations: 7.984 kB / 429.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.224e-05/0.003361, allocations: 7.922 kB / 429.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.00364, allocations: 51.77 kB / 429.9 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.003713, allocations: 23.88 kB / 429.9 MB, free: 2.582 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.003792, allocations: 4 kB / 429.9 MB, free: 2.578 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.003869, allocations: 15.98 kB / 430 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.003915, allocations: 7.969 kB / 430 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.003928, allocations: 4 kB / 430 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.004097, allocations: 63.88 kB / 430 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.004115, allocations: 4 kB / 430 MB, free: 2.484 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.004129, allocations: 8 kB / 430 MB, free: 2.477 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.00427, allocations: 51.81 kB / 430.1 MB, free: 2.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.004282, allocations: 0 / 430.1 MB, free: 2.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.004284, allocations: 0 / 430.1 MB, free: 2.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.004297, allocations: 0 / 430.1 MB, free: 2.426 MB / 410.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.0004165/0.004713, allocations: 244.5 kB / 430.3 MB, free: 2.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.004746, allocations: 15.98 kB / 430.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.004777, allocations: 0.9375 kB / 430.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/0.004858, allocations: 109.8 kB / 430.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.004868, allocations: 384 / 430.5 MB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.004878, allocations: 4.375 kB / 430.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.004991, allocations: 58.94 kB / 430.5 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.004997, allocations: 192 / 430.5 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-06/0.005002, allocations: 384 / 430.5 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.005007, allocations: 384 / 430.5 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.005026, allocations: 15.86 kB / 430.5 MB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.005196, allocations: 144.3 kB / 430.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.005234, allocations: 26.61 kB / 430.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.005248, allocations: 8.922 kB / 430.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.005513, allocations: 67.94 kB / 430.8 MB, free: 1.656 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.005533, allocations: 38.56 kB / 430.8 MB, free: 1.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005534, allocations: 3.938 kB / 430.8 MB, free: 1.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.987e-05/0.005624, allocations: 41.69 kB / 430.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.005643, allocations: 55.34 kB / 430.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.388e-05/0.005687, allocations: 102.7 kB / 431 MB, free: 1.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.005695, allocations: 25.83 kB / 431 MB, free: 1.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.005717, allocations: 88.12 kB / 431.1 MB, free: 1.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.005732, allocations: 11.89 kB / 431.1 MB, free: 1.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.005751, allocations: 9.719 kB / 431.2 MB, free: 1.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.005808, allocations: 318.8 kB / 431.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-06/0.005814, allocations: 0 / 431.5 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.00582, allocations: 4 kB / 431.5 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.86e-05/0.005839, allocations: 20.78 kB / 431.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.00584, allocations: 0 / 431.5 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.097e-05/0.005871, allocations: 37.64 kB / 431.5 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.005882, allocations: 12 kB / 431.5 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.005887, allocations: 3.984 kB / 431.5 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.005897, allocations: 0 / 431.5 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.005942, allocations: 7.938 kB / 431.5 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.005945, allocations: 0 / 431.5 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.005959, allocations: 7.953 kB / 431.6 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-06/0.005962, allocations: 0 / 431.6 MB, free: 0.8086 MB / 410.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 4.025e-05/0.006002, allocations: 113.8 kB / 431.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.006013, allocations: 0 / 431.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.006066, allocations: 48.94 kB / 431.7 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006068, allocations: 4 kB / 431.7 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.00607, allocations: 3.938 kB / 431.7 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.006072, allocations: 0 / 431.7 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.819e-05/0.00614, allocations: 61.91 kB / 431.8 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006141, allocations: 0 / 431.8 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.006158, allocations: 7.984 kB / 431.8 MB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-06/0.006162, allocations: 4 kB / 431.8 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.006163, allocations: 0 / 431.8 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-06/0.006167, allocations: 0 / 431.8 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.006167, allocations: 0 / 431.8 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.006169, allocations: 7.969 kB / 431.8 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.504e-05/0.006224, allocations: 135.5 kB / 431.9 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-06/0.006231, allocations: 4 kB / 431.9 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.006256, allocations: 0 / 431.9 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.006279, allocations: 3.984 kB / 431.9 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006283, allocations: 8 kB / 431.9 MB, free: 376 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.049e-05/0.006294, allocations: 12.97 kB / 432 MB, free: 360 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006294, allocations: 0 / 432 MB, free: 360 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001299/0.006424, allocations: 19.94 kB / 432 MB, free: 340 kB / 410.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.0001204/0.006544, allocations: 96.44 kB / 432.1 MB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.202e-05/0.006596, allocations: 20.78 kB / 432.1 MB, free: 212 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.006599, allocations: 0 / 432.1 MB, free: 212 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.006615, allocations: 8.859 kB / 432.1 MB, free: 200 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.006739, allocations: 37.7 kB / 432.1 MB, free: 156 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.007027, allocations: 115.9 kB / 432.3 MB, free: 16 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1814/0.1884, allocations: 57 kB / 432.3 MB, free: 2.664 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.477e-05/0.1885, allocations: 1.172 kB / 432.3 MB, free: 2.664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.1885, allocations: 51.25 kB / 432.4 MB, free: 2.621 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1885, allocations: 0 / 432.4 MB, free: 2.621 MB / 410.7 MB Notification: Performance of Templates: time 0.002571/0.1911, allocations: 0.7094 MB / 433.1 MB, free: 2.602 MB / 410.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.396319914609194]