Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001907/0.001907, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.001996/0.001996, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.003194/0.003194, allocations: 242.9 kB / 259.8 MB, free: 12.86 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 1.182/1.182, allocations: 138.4 MB / 454.7 MB, free: 1.531 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5544 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.052e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.002221/0.002251, allocations: 0.5887 MB / 0.555 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006165/0.002868, allocations: 167.4 kB / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.22e-05/0.00288, allocations: 0 / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.002894, allocations: 0 / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-06/0.0029, allocations: 7.938 kB / 0.5551 GB, free: 84 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.003396, allocations: 47.78 kB / 0.5552 GB, free: 36 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.003441, allocations: 7.984 kB / 0.5552 GB, free: 28 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.003479, allocations: 7.984 kB / 0.5552 GB, free: 20 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.003507, allocations: 0 / 0.5552 GB, free: 20 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.281e-05/0.00353, allocations: 0 / 0.5552 GB, free: 20 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.437e-06/0.00354, allocations: 0 / 0.5552 GB, free: 20 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.003784, allocations: 47.97 kB / 0.5552 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.003802, allocations: 8 kB / 0.5552 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.634e-05/0.003818, allocations: 0 / 0.5552 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.003994, allocations: 43.78 kB / 0.5553 GB, free: 15.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003997, allocations: 4 kB / 0.5553 GB, free: 15.92 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003998, allocations: 0 / 0.5553 GB, free: 15.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.004003, allocations: 0 / 0.5553 GB, free: 15.92 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005944/0.004597, allocations: 348.3 kB / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.00464, allocations: 8.75 kB / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.004682, allocations: 0.9375 kB / 0.5556 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.00481, allocations: 116.6 kB / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.004824, allocations: 384 / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.004832, allocations: 384 / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.004954, allocations: 34.2 kB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.004965, allocations: 4.188 kB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.004974, allocations: 384 / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.004982, allocations: 4.359 kB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.005014, allocations: 3.938 kB / 0.5558 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.005164, allocations: 112.6 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.709e-05/0.005231, allocations: 27.06 kB / 0.5559 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.005253, allocations: 7.781 kB / 0.5559 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007008/0.005953, allocations: 71.92 kB / 0.556 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.006008, allocations: 45.33 kB / 0.556 GB, free: 15.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.00601, allocations: 0 / 0.556 GB, free: 15.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001804/0.00619, allocations: 33.69 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.006244, allocations: 51.41 kB / 0.5561 GB, free: 14.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.006589, allocations: 142.2 kB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.006616, allocations: 25.7 kB / 0.5563 GB, free: 14.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/0.006712, allocations: 126.9 kB / 0.5564 GB, free: 14.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.006747, allocations: 3.953 kB / 0.5564 GB, free: 14.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.006809, allocations: 23.5 kB / 0.5564 GB, free: 14.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003066/0.007115, allocations: 0.4883 MB / 0.5569 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.007129, allocations: 0 / 0.5569 GB, free: 14.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.007137, allocations: 4 kB / 0.5569 GB, free: 14.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.052e-05/0.007188, allocations: 15.62 kB / 0.5569 GB, free: 14.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.00719, allocations: 0 / 0.5569 GB, free: 14.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.754e-05/0.007278, allocations: 33.69 kB / 0.557 GB, free: 14.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.007295, allocations: 4 kB / 0.557 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.0073, allocations: 3.938 kB / 0.557 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.007317, allocations: 4.094 kB / 0.557 GB, free: 14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.631e-05/0.007363, allocations: 4 kB / 0.557 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.00737, allocations: 0 / 0.557 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.007387, allocations: 3.938 kB / 0.557 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.007393, allocations: 0 / 0.557 GB, free: 13.99 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 (1): * Single equations (assignments): 1 * 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 0.0001474/0.00754, allocations: 160.6 kB / 0.5571 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.007551, allocations: 0 / 0.5571 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.007658, allocations: 40.62 kB / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.00766, allocations: 0 / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007665, allocations: 0 / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007668, allocations: 4.031 kB / 0.5572 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.007808, allocations: 112.6 kB / 0.5573 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.007809, allocations: 0 / 0.5573 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.007824, allocations: 0 / 0.5573 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.007829, allocations: 3.984 kB / 0.5573 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.007835, allocations: 0 / 0.5573 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.00784, allocations: 4 kB / 0.5573 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007841, allocations: 0 / 0.5573 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.007969, allocations: 72.33 kB / 0.5574 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.007981, allocations: 8 kB / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007993, allocations: 0 / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.008007, allocations: 8.016 kB / 0.5574 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.008028, allocations: 0 / 0.5574 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.008031, allocations: 0 / 0.5574 GB, free: 13.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8e-05/0.008111, allocations: 119.2 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008111, allocations: 0 / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.008422, allocations: 15.94 kB / 0.5575 GB, free: 13.38 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 (1): * Single equations (assignments): 1 * 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.0002669/0.008689, allocations: 131.2 kB / 0.5576 GB, free: 13.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.008791, allocations: 11.69 kB / 0.5576 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.008794, allocations: 0 / 0.5576 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.008818, allocations: 11.62 kB / 0.5576 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.009023, allocations: 4 kB / 0.5576 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.00928, allocations: 87.94 kB / 0.5577 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.334e-05/0.009354, allocations: 59.34 kB / 0.5578 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.283e-05/0.009367, allocations: 3.938 kB / 0.5578 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.009387, allocations: 8.625 kB / 0.5578 GB, free: 13 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009387, allocations: 4 kB / 0.5578 GB, free: 13 MB / 490.7 MB Notification: Performance of Templates: time 0.004135/0.01352, allocations: 440.9 kB / 0.5582 GB, free: 12.57 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.809837300912477]