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.0009057/0.0009057, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009808/0.0009808, allocations: 169 kB / 23.27 MB, free: 1.223 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.9603/0.9603, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.001621/0.001621, allocations: 233.5 kB / 260.5 MB, free: 12.68 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.7378/0.7378, allocations: 138.5 MB / 455.5 MB, free: 1.414 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.382e-06/1.382e-06, allocations: 3.938 kB / 0.5557 GB, free: 176 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.54e-05, allocations: 2.312 kB / 0.5557 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.00102/0.001036, allocations: 0.6001 MB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.001348, allocations: 171.4 kB / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.16e-05/0.00136, allocations: 0 / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.001372, allocations: 3.938 kB / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.001377, allocations: 0 / 0.5564 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.001651, allocations: 63.75 kB / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 2.653e-05/0.001678, allocations: 0 / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.551e-05/0.001703, allocations: 3.938 kB / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.001724, allocations: 4 kB / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.59e-05/0.00174, allocations: 0 / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.001747, allocations: 0 / 0.5565 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.001871, allocations: 59.92 kB / 0.5566 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.00188, allocations: 0 / 0.5566 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.965e-06/0.001888, allocations: 0 / 0.5566 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.457e-05/0.001973, allocations: 47.86 kB / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.001975, allocations: 0 / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.001976, allocations: 11.94 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.001979, allocations: 0 / 0.5566 GB, free: 15.21 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.0001996/0.002179, allocations: 336.4 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.002212, allocations: 12.75 kB / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.002236, allocations: 0.9375 kB / 0.5569 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.86e-05/0.002284, allocations: 112.5 kB / 0.557 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-06/0.00229, allocations: 384 / 0.5571 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-06/0.002294, allocations: 384 / 0.5571 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.561e-05/0.00234, allocations: 30.27 kB / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-06/0.002344, allocations: 192 / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-06/0.002349, allocations: 4.375 kB / 0.5571 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.002352, allocations: 4.375 kB / 0.5571 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-06/0.00236, allocations: 3.938 kB / 0.5571 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.435e-05/0.002425, allocations: 93.27 kB / 0.5572 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.559e-05/0.00245, allocations: 27 kB / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.154e-05/0.002462, allocations: 11.78 kB / 0.5572 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.002753, allocations: 83.89 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.002769, allocations: 33.39 kB / 0.5573 GB, free: 14.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.00277, allocations: 0 / 0.5573 GB, free: 14.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 7.235e-05/0.002842, allocations: 33.64 kB / 0.5574 GB, free: 14.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.002862, allocations: 51.41 kB / 0.5574 GB, free: 14.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.354e-05/0.002895, allocations: 142.2 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.002904, allocations: 29.7 kB / 0.5576 GB, free: 14.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.002933, allocations: 130.9 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.002954, allocations: 4.297 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.002975, allocations: 23.48 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.00308, allocations: 0.4922 MB / 0.5582 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-06/0.003087, allocations: 4 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/0.00309, allocations: 0 / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.883e-05/0.003109, allocations: 11.69 kB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.00311, allocations: 0 / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.924e-05/0.00314, allocations: 33.64 kB / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.003149, allocations: 4 kB / 0.5583 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.003153, allocations: 0 / 0.5583 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.003169, allocations: 7.984 kB / 0.5583 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.929e-05/0.003198, allocations: 8.078 kB / 0.5583 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.003201, allocations: 0 / 0.5583 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-06/0.003208, allocations: 0 / 0.5583 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.003212, allocations: 0 / 0.5583 GB, free: 13.31 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 5.584e-05/0.003268, allocations: 160.5 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-06/0.00327, allocations: 0 / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.003314, allocations: 40.64 kB / 0.5585 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.003316, allocations: 3.984 kB / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.003318, allocations: 0 / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00332, allocations: 0 / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.803e-05/0.003368, allocations: 105.2 kB / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003369, allocations: 0 / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.003372, allocations: 0 / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.003374, allocations: 0 / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-06/0.003376, allocations: 0 / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.01e-07/0.003376, allocations: 0 / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.003377, allocations: 4 kB / 0.5586 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.96e-05/0.003416, allocations: 68.38 kB / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.00342, allocations: 4 kB / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-06/0.003425, allocations: 0 / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-06/0.003428, allocations: 0 / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-06/0.003435, allocations: 4.031 kB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.003437, allocations: 0 / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.576e-05/0.003462, allocations: 123.2 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003462, allocations: 0 / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001182/0.003581, allocations: 15.94 kB / 0.5588 GB, free: 12.73 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.0001218/0.003702, allocations: 135.1 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 3.846e-05/0.003741, allocations: 7.688 kB / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.003742, allocations: 0 / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.003749, allocations: 15.67 kB / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.26e-05/0.003831, allocations: 6.516 kB / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001137/0.003945, allocations: 90.81 kB / 0.559 GB, free: 12.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.201e-05/0.003967, allocations: 51.36 kB / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.013e-06/0.003974, allocations: 0 / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.004, allocations: 70.2 kB / 0.5591 GB, free: 12.3 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.004, allocations: 128 / 0.5591 GB, free: 12.3 MB / 490.7 MB Notification: Performance of Templates: time 0.001585/0.005585, allocations: 0.4925 MB / 0.5596 GB, free: 11.8 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.3987094331532717]