Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001018/0.001018, allocations: 93.06 kB / 19.65 MB, free: 272 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.001083/0.001083, allocations: 173 kB / 23.02 MB, free: 1.543 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.9772/0.9772, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.005123/0.005123, allocations: 232.7 kB / 260.2 MB, free: 12.82 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.7072/0.7072, allocations: 138.4 MB / 455.2 MB, free: 1.496 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5552 GB, free: 444 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.096e-05, allocations: 6.25 kB / 0.5552 GB, free: 436 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001368/0.001399, allocations: 0.5964 MB / 0.5558 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.001772, allocations: 183.2 kB / 0.5559 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.001786, allocations: 0 / 0.5559 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.001807, allocations: 0 / 0.5559 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.001814, allocations: 4 kB / 0.5559 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.00219, allocations: 59.75 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.002236, allocations: 4 kB / 0.556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.002275, allocations: 0 / 0.556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.452e-05/0.0023, allocations: 0 / 0.556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.858e-05/0.002319, allocations: 0 / 0.556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.938e-06/0.002328, allocations: 0 / 0.556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.002489, allocations: 67.8 kB / 0.5561 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.002502, allocations: 0 / 0.5561 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.463e-05/0.002516, allocations: 0 / 0.5561 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.002633, allocations: 47.86 kB / 0.5561 GB, free: 15.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.002635, allocations: 4 kB / 0.5561 GB, free: 15.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.002636, allocations: 0 / 0.5561 GB, free: 15.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.00264, allocations: 0 / 0.5561 GB, free: 15.46 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.0002645/0.002905, allocations: 348.4 kB / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.002949, allocations: 8.75 kB / 0.5565 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.002985, allocations: 0.9375 kB / 0.5565 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.94e-05/0.003045, allocations: 108.6 kB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.003056, allocations: 384 / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.003063, allocations: 384 / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.003264, allocations: 30.2 kB / 0.5566 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.003272, allocations: 192 / 0.5566 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.003281, allocations: 12.36 kB / 0.5566 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.003288, allocations: 384 / 0.5566 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.32e-05/0.003301, allocations: 3.938 kB / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.853e-05/0.0034, allocations: 112.6 kB / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.848e-05/0.003438, allocations: 27.09 kB / 0.5567 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.003458, allocations: 7.688 kB / 0.5567 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004182/0.003876, allocations: 79.98 kB / 0.5568 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.003903, allocations: 37.33 kB / 0.5569 GB, free: 14.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.003904, allocations: 0 / 0.5569 GB, free: 14.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.004057, allocations: 33.69 kB / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.004086, allocations: 55.34 kB / 0.5569 GB, free: 14.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.965e-05/0.004126, allocations: 142.2 kB / 0.5571 GB, free: 14.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.004138, allocations: 29.7 kB / 0.5571 GB, free: 14.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.004173, allocations: 126.9 kB / 0.5572 GB, free: 14.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.004207, allocations: 4.297 kB / 0.5572 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.004235, allocations: 23.5 kB / 0.5573 GB, free: 14.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.004357, allocations: 0.4883 MB / 0.5577 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.004371, allocations: 0 / 0.5577 GB, free: 13.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-06/0.00438, allocations: 3.938 kB / 0.5577 GB, free: 13.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.004416, allocations: 15.67 kB / 0.5577 GB, free: 13.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.004419, allocations: 0 / 0.5577 GB, free: 13.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.949e-05/0.004468, allocations: 29.7 kB / 0.5578 GB, free: 13.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.004483, allocations: 4 kB / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.004489, allocations: 0 / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.004502, allocations: 8.094 kB / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.004551, allocations: 0 / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.004557, allocations: 0 / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.026e-05/0.004567, allocations: 7.938 kB / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.004573, allocations: 0 / 0.5578 GB, free: 13.54 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 6.332e-05/0.004636, allocations: 160.6 kB / 0.5579 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-06/0.00464, allocations: 3.938 kB / 0.558 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.004704, allocations: 32.7 kB / 0.558 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.004706, allocations: 0 / 0.558 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.004709, allocations: 0 / 0.558 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.004712, allocations: 4.031 kB / 0.558 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.477e-05/0.004766, allocations: 120.6 kB / 0.5581 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.004768, allocations: 0 / 0.5581 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.004776, allocations: 0 / 0.5581 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.004777, allocations: 0 / 0.5581 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.004784, allocations: 4 kB / 0.5581 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.004786, allocations: 4 kB / 0.5581 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.004787, allocations: 0 / 0.5581 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.184e-05/0.004839, allocations: 72.31 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.004844, allocations: 4 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-06/0.004851, allocations: 0 / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.837e-06/0.004855, allocations: 4.031 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.004868, allocations: 3.938 kB / 0.5582 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.004869, allocations: 0 / 0.5582 GB, free: 13.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.627e-05/0.004896, allocations: 119.2 kB / 0.5583 GB, free: 12.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.004896, allocations: 0 / 0.5583 GB, free: 12.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001362/0.005032, allocations: 15.94 kB / 0.5583 GB, free: 12.93 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.0001735/0.005205, allocations: 131.1 kB / 0.5584 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.005281, allocations: 11.69 kB / 0.5585 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.005285, allocations: 4 kB / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-06/0.005291, allocations: 11.62 kB / 0.5585 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.145e-05/0.005383, allocations: 0 / 0.5585 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001793/0.005562, allocations: 91.92 kB / 0.5586 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.819e-05/0.00559, allocations: 51.36 kB / 0.5586 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.236e-06/0.005598, allocations: 0 / 0.5586 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.545e-05/0.005614, allocations: 16.62 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005614, allocations: 4 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of Templates: time 0.002169/0.007783, allocations: 472.4 kB / 0.5591 GB, free: 12.09 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5305206794291735]