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.001175/0.001175, 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.001256/0.001256, allocations: 169 kB / 23.28 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.962/0.962, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.001743/0.001743, allocations: 246.1 kB / 260.5 MB, free: 12.65 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.7248/0.7248, allocations: 138.4 MB / 455.5 MB, free: 1.398 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.372e-06/1.372e-06, allocations: 3.938 kB / 0.5557 GB, free: 172 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.537e-05, allocations: 6.25 kB / 0.5557 GB, free: 164 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001465/0.00149, allocations: 0.5924 MB / 0.5562 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004119/0.001902, allocations: 167.4 kB / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.8e-05/0.00192, allocations: 0 / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.001936, allocations: 0 / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.563e-06/0.001943, allocations: 0 / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.002309, allocations: 55.77 kB / 0.5565 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.294e-05/0.002342, allocations: 0 / 0.5565 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.002376, allocations: 7.984 kB / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.002403, allocations: 3.984 kB / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.115e-05/0.002424, allocations: 4 kB / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.002431, allocations: 0 / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.002567, allocations: 55.83 kB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.002578, allocations: 0 / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.586e-06/0.002587, allocations: 0 / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002689, allocations: 47.92 kB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002691, allocations: 0 / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.002692, allocations: 0 / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.002695, allocations: 0 / 0.5566 GB, free: 15.23 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.000229/0.002924, allocations: 352.3 kB / 0.5569 GB, free: 14.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.002965, allocations: 8.75 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.00299, allocations: 0.9375 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.856e-05/0.003049, allocations: 112.6 kB / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.003058, allocations: 384 / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.003063, allocations: 384 / 0.557 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.818e-05/0.003121, allocations: 26.27 kB / 0.557 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.003127, allocations: 4.125 kB / 0.5571 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.003134, allocations: 4.375 kB / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.00314, allocations: 384 / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.088e-05/0.003151, allocations: 7.938 kB / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.022e-05/0.003241, allocations: 93.27 kB / 0.5572 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/0.003275, allocations: 35.06 kB / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.003289, allocations: 7.688 kB / 0.5572 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/0.003611, allocations: 75.95 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.003632, allocations: 37.39 kB / 0.5573 GB, free: 14.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.003633, allocations: 7.938 kB / 0.5573 GB, free: 14.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001013/0.003735, allocations: 29.7 kB / 0.5573 GB, free: 14.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.003759, allocations: 55.34 kB / 0.5574 GB, free: 14.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.558e-05/0.003795, allocations: 142.2 kB / 0.5575 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.003803, allocations: 25.7 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.00383, allocations: 126.9 kB / 0.5577 GB, free: 13.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.003857, allocations: 8.297 kB / 0.5577 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.003885, allocations: 15.38 kB / 0.5577 GB, free: 13.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.003999, allocations: 0.4883 MB / 0.5582 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.00401, allocations: 8 kB / 0.5582 GB, free: 13.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.004015, allocations: 4.125 kB / 0.5582 GB, free: 13.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.00404, allocations: 11.62 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.004043, allocations: 0 / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.399e-05/0.004087, allocations: 33.7 kB / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.004101, allocations: 6.969 kB / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.004105, allocations: 0 / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.004116, allocations: 0 / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.247e-05/0.004149, allocations: 4 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-06/0.004151, allocations: 0 / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-06/0.00416, allocations: 3.984 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.004164, allocations: 4.094 kB / 0.5582 GB, free: 13.32 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.551e-05/0.00423, allocations: 156.5 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.004235, allocations: 4 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.004293, allocations: 40.64 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004295, allocations: 0 / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004297, allocations: 0 / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.0043, allocations: 0 / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.661e-05/0.004356, allocations: 97.19 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.004357, allocations: 0 / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-06/0.004365, allocations: 4 kB / 0.5585 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.004367, allocations: 4.031 kB / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.00437, allocations: 0 / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004371, allocations: 0 / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.004372, allocations: 0 / 0.5585 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.442e-05/0.004426, allocations: 76.31 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.004432, allocations: 7.984 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-06/0.004438, allocations: 0 / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.138e-06/0.004442, allocations: 4 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.919e-06/0.004452, allocations: 3.938 kB / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.72e-07/0.004453, allocations: 0 / 0.5586 GB, free: 12.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.973e-05/0.004483, allocations: 123.2 kB / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004483, allocations: 0 / 0.5587 GB, free: 12.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001303/0.004613, 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.000145/0.004758, allocations: 115.2 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.675e-05/0.004815, allocations: 11.69 kB / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004816, allocations: 4.062 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.043e-06/0.004823, allocations: 11.69 kB / 0.5589 GB, free: 12.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.518e-05/0.004908, allocations: 3.938 kB / 0.5589 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001371/0.005045, allocations: 95.88 kB / 0.559 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.613e-05/0.005072, allocations: 55.36 kB / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.415e-06/0.00508, allocations: 0 / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.005107, allocations: 66.2 kB / 0.5591 GB, free: 12.31 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.005108, allocations: 0 / 0.5591 GB, free: 12.31 MB / 490.7 MB Notification: Performance of Templates: time 0.001857/0.006964, allocations: 492.4 kB / 0.5596 GB, free: 11.83 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: 3.5333356498740613]