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.0008671/0.0008671, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.0009347/0.0009347, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9721/0.9721, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001692/0.001692, allocations: 237.5 kB / 261.3 MB, free: 12.66 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.726/0.726, allocations: 138.4 MB / 456.3 MB, free: 29.95 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 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.763e-06/1.763e-06, allocations: 0 / 0.5564 GB, free: 15.77 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.671e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001036/0.001053, allocations: 0.6004 MB / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003433/0.001396, allocations: 175.3 kB / 0.5572 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.001411, allocations: 4 kB / 0.5572 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.001426, allocations: 0 / 0.5572 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.001431, allocations: 0 / 0.5572 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.001731, allocations: 47.78 kB / 0.5572 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.629e-05/0.001767, allocations: 3.984 kB / 0.5572 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.001805, allocations: 7.984 kB / 0.5572 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.001824, allocations: 0 / 0.5572 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.1e-05/0.001845, allocations: 0 / 0.5572 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.001853, allocations: 4 kB / 0.5572 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.002006, allocations: 55.83 kB / 0.5573 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.002019, allocations: 4 kB / 0.5573 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.856e-06/0.002028, allocations: 0 / 0.5573 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.437e-05/0.002122, allocations: 43.92 kB / 0.5573 GB, free: 14.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.002124, allocations: 0 / 0.5573 GB, free: 14.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002125, allocations: 0 / 0.5573 GB, free: 14.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.002128, allocations: 0 / 0.5573 GB, free: 14.82 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.0002049/0.002333, allocations: 348.3 kB / 0.5577 GB, free: 14.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.002365, allocations: 9.938 kB / 0.5577 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.002386, allocations: 4.938 kB / 0.5577 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.347e-05/0.002439, allocations: 108.6 kB / 0.5578 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.00245, allocations: 4.375 kB / 0.5578 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-06/0.002454, allocations: 384 / 0.5578 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.392e-05/0.002508, allocations: 30.27 kB / 0.5578 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.002516, allocations: 4.125 kB / 0.5578 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.002521, allocations: 384 / 0.5578 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.002525, allocations: 384 / 0.5578 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-06/0.002535, allocations: 3.938 kB / 0.5578 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.607e-05/0.002611, allocations: 101.2 kB / 0.5579 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.396e-05/0.002645, allocations: 31.05 kB / 0.5579 GB, free: 14.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.13e-05/0.002656, allocations: 7.688 kB / 0.5579 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.002945, allocations: 76.02 kB / 0.558 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.002964, allocations: 33.39 kB / 0.5581 GB, free: 13.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.002964, allocations: 0 / 0.5581 GB, free: 13.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 8.388e-05/0.003048, allocations: 37.58 kB / 0.5581 GB, free: 13.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.003073, allocations: 55.53 kB / 0.5581 GB, free: 13.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.628e-05/0.003109, allocations: 142.2 kB / 0.5583 GB, free: 13.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.003118, allocations: 25.7 kB / 0.5583 GB, free: 13.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.00315, allocations: 130.9 kB / 0.5584 GB, free: 13.53 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.003171, allocations: 352 / 0.5584 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.003191, allocations: 15.38 kB / 0.5584 GB, free: 13.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.003302, allocations: 0.4883 MB / 0.5589 GB, free: 13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-06/0.003306, allocations: 4 kB / 0.5589 GB, free: 13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-06/0.003312, allocations: 4 kB / 0.5589 GB, free: 13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.003333, allocations: 15.62 kB / 0.5589 GB, free: 12.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003335, allocations: 4.062 kB / 0.5589 GB, free: 12.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.22e-05/0.003367, allocations: 29.7 kB / 0.559 GB, free: 12.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.003377, allocations: 4 kB / 0.559 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.00338, allocations: 0 / 0.559 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/0.003387, allocations: 0 / 0.559 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.564e-05/0.003413, allocations: 4 kB / 0.559 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.003416, allocations: 3.984 kB / 0.559 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.665e-06/0.003424, allocations: 3.953 kB / 0.559 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.003427, allocations: 0 / 0.559 GB, free: 12.92 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.932e-05/0.003487, allocations: 164.5 kB / 0.5591 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-06/0.00349, allocations: 0 / 0.5591 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.003545, allocations: 44.62 kB / 0.5592 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.003547, allocations: 0 / 0.5592 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.003549, allocations: 0 / 0.5592 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.003551, allocations: 0 / 0.5592 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.455e-05/0.003606, allocations: 97.19 kB / 0.5593 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.003606, allocations: 4 kB / 0.5593 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-06/0.003612, allocations: 0 / 0.5593 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-07/0.003612, allocations: 0 / 0.5593 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.003616, allocations: 0 / 0.5593 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.003617, allocations: 4.031 kB / 0.5593 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.003617, allocations: 0 / 0.5593 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.971e-05/0.003677, allocations: 80.3 kB / 0.5594 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.003683, allocations: 3.984 kB / 0.5594 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.003691, allocations: 8 kB / 0.5594 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-06/0.003695, allocations: 3.938 kB / 0.5594 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.003704, allocations: 0 / 0.5594 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-06/0.003706, allocations: 0 / 0.5594 GB, free: 12.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.918e-05/0.003735, allocations: 119.2 kB / 0.5595 GB, free: 12.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003735, allocations: 0 / 0.5595 GB, free: 12.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.003873, allocations: 15.97 kB / 0.5595 GB, free: 12.32 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.0001314/0.004004, allocations: 119.2 kB / 0.5596 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.218e-05/0.004056, allocations: 11.69 kB / 0.5596 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.004057, allocations: 0 / 0.5596 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.004065, allocations: 11.69 kB / 0.5596 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.004182, allocations: 14.75 kB / 0.5597 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001421/0.004324, allocations: 91.88 kB / 0.5597 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.67e-05/0.004351, allocations: 51.36 kB / 0.5598 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.486e-06/0.004359, allocations: 0 / 0.5598 GB, free: 11.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.004389, allocations: 66.2 kB / 0.5599 GB, free: 11.91 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004389, allocations: 0 / 0.5599 GB, free: 11.91 MB / 490.7 MB Notification: Performance of Templates: time 0.00204/0.006429, allocations: 481 kB / 0.5603 GB, free: 11.45 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.481850544922054]