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.001434/0.001434, allocations: 88.72 kB / 19.44 MB, free: 352 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.001619/0.001619, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.425/1.425, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.002659/0.002659, allocations: 234.2 kB / 259.8 MB, free: 12.84 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.039/1.039, allocations: 138.4 MB / 454.7 MB, free: 1.441 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.5544 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.321e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001827/0.00186, allocations: 0.5849 MB / 0.555 GB, free: 184 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005284/0.002388, allocations: 183.3 kB / 0.5551 GB, free: 0 / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.229e-05/0.002401, allocations: 0 / 0.5551 GB, free: 0 / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.002413, allocations: 0 / 0.5551 GB, free: 0 / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.002419, allocations: 4.047 kB / 0.5551 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.002825, allocations: 51.77 kB / 0.5552 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.782e-05/0.002863, allocations: 0 / 0.5552 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.0029, allocations: 7.984 kB / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.002923, allocations: 0 / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.002947, allocations: 3.938 kB / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.002956, allocations: 0 / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.003139, allocations: 55.94 kB / 0.5552 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.003151, allocations: 0 / 0.5552 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.003169, allocations: 0 / 0.5552 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.003316, allocations: 47.86 kB / 0.5553 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003318, allocations: 4 kB / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003318, allocations: 0 / 0.5553 GB, free: 15.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.003322, allocations: 0 / 0.5553 GB, free: 15.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.0003971/0.003719, allocations: 246.4 kB / 0.5555 GB, free: 15.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.003758, allocations: 8.75 kB / 0.5555 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.003797, allocations: 0.9375 kB / 0.5555 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.003899, allocations: 105.8 kB / 0.5556 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.003912, allocations: 4.375 kB / 0.5556 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-06/0.003918, allocations: 4.375 kB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.004009, allocations: 26.27 kB / 0.5557 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004017, allocations: 4.188 kB / 0.5557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.004024, allocations: 384 / 0.5557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.004029, allocations: 384 / 0.5557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.004054, allocations: 15.81 kB / 0.5557 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.004201, allocations: 97.33 kB / 0.5558 GB, free: 15.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.643e-05/0.004257, allocations: 18.61 kB / 0.5558 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.004281, allocations: 12.78 kB / 0.5558 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/0.004886, allocations: 75.98 kB / 0.5559 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.004926, allocations: 34.56 kB / 0.5559 GB, free: 15.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.004927, allocations: 0 / 0.5559 GB, free: 15.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001534/0.00508, allocations: 37.62 kB / 0.556 GB, free: 15.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.005129, allocations: 55.41 kB / 0.556 GB, free: 14.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.005198, allocations: 89.86 kB / 0.5561 GB, free: 14.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.005216, allocations: 25.7 kB / 0.5561 GB, free: 14.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.005265, allocations: 80.14 kB / 0.5562 GB, free: 14.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.005295, allocations: 16.08 kB / 0.5562 GB, free: 14.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.005324, allocations: 9.719 kB / 0.5562 GB, free: 14.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.005508, allocations: 314.8 kB / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.00552, allocations: 4 kB / 0.5565 GB, free: 14.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-06/0.005525, allocations: 0 / 0.5565 GB, free: 14.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.005559, allocations: 12.8 kB / 0.5565 GB, free: 14.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005561, allocations: 0 / 0.5565 GB, free: 14.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.105e-05/0.005622, allocations: 37.69 kB / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.005635, allocations: 4 kB / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.00564, allocations: 96 / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.005661, allocations: 8 kB / 0.5566 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.763e-05/0.005699, allocations: 0 / 0.5566 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005704, allocations: 0 / 0.5566 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.005716, allocations: 3.938 kB / 0.5566 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.005722, allocations: 0 / 0.5566 GB, free: 14.33 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 8.878e-05/0.005811, allocations: 109.8 kB / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.00582, allocations: 3.984 kB / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.921e-05/0.005909, allocations: 40.64 kB / 0.5567 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.00591, allocations: 0 / 0.5567 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.005915, allocations: 32 / 0.5567 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005917, allocations: 4 kB / 0.5567 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.00602, allocations: 101.3 kB / 0.5568 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.006023, allocations: 3.984 kB / 0.5568 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.006044, allocations: 0 / 0.5568 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.006045, allocations: 3.938 kB / 0.5568 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.006053, allocations: 4 kB / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006054, allocations: 0 / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006055, allocations: 0 / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/0.006139, allocations: 53.08 kB / 0.5569 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-06/0.006146, allocations: 7.984 kB / 0.5569 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.00616, allocations: 15.97 kB / 0.5569 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.006167, allocations: 0 / 0.5569 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.006179, allocations: 0 / 0.5569 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.006181, allocations: 0 / 0.5569 GB, free: 13.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.997e-05/0.006231, allocations: 79.28 kB / 0.557 GB, free: 13.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006231, allocations: 0 / 0.557 GB, free: 13.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000203/0.006434, allocations: 11.94 kB / 0.557 GB, free: 13.84 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.0003731/0.006807, allocations: 127.2 kB / 0.5571 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.509e-05/0.006872, allocations: 4 kB / 0.5571 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006874, allocations: 0 / 0.5571 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/0.00688, allocations: 0 / 0.5571 GB, free: 13.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.007034, allocations: 7.938 kB / 0.5571 GB, free: 13.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.007261, allocations: 90.2 kB / 0.5572 GB, free: 13.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.923e-05/0.00732, allocations: 55.36 kB / 0.5573 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.014e-05/0.00733, allocations: 0 / 0.5573 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.007354, allocations: 12.62 kB / 0.5573 GB, free: 13.49 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.007354, allocations: 0 / 0.5573 GB, free: 13.49 MB / 490.7 MB Notification: Performance of Templates: time 0.002948/0.0103, allocations: 441.1 kB / 0.5577 GB, free: 13.07 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.349363837973215]