Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001432/0.001432, allocations: 92.7 kB / 19.44 MB, free: 324 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.00162/0.00162, allocations: 165.3 kB / 22.76 MB, free: 1.652 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.458/1.458, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.002652/0.002652, allocations: 241.5 kB / 259.8 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 1.069/1.069, allocations: 138.4 MB / 454.7 MB, free: 1.449 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.5543 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.444e-05, allocations: 5.266 kB / 0.5543 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002746/0.00277, allocations: 1.452 MB / 0.5558 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006102/0.00338, allocations: 232.1 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.003405, allocations: 0 / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.003435, allocations: 7.922 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.041e-05/0.003476, allocations: 8 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.003823, allocations: 55.77 kB / 0.556 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.003893, allocations: 27.86 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.003964, allocations: 7.984 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.004017, allocations: 11.98 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.138e-05/0.004049, allocations: 4 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.00406, allocations: 0 / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.004227, allocations: 55.94 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.004249, allocations: 11.92 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.004275, allocations: 4 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.004516, allocations: 67.78 kB / 0.5562 GB, free: 14.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.004519, allocations: 0 / 0.5562 GB, free: 14.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004519, allocations: 0 / 0.5562 GB, free: 14.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.004524, allocations: 0 / 0.5562 GB, free: 14.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005587/0.005083, allocations: 270.3 kB / 0.5565 GB, free: 14.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.005139, allocations: 12.75 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.005188, allocations: 0.9375 kB / 0.5565 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.005325, allocations: 109.8 kB / 0.5566 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.005338, allocations: 384 / 0.5566 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.005353, allocations: 4.375 kB / 0.5566 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.005549, allocations: 50.23 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.005559, allocations: 4.125 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.005574, allocations: 4.375 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.005579, allocations: 8.312 kB / 0.5567 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.005762, allocations: 35.89 kB / 0.5567 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.006134, allocations: 188.6 kB / 0.5569 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.006276, allocations: 34.56 kB / 0.5569 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.006377, allocations: 32.89 kB / 0.557 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004989/0.006876, allocations: 67.92 kB / 0.557 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.006912, allocations: 38.5 kB / 0.5571 GB, free: 13.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.006913, allocations: 0 / 0.5571 GB, free: 13.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004532/0.007366, allocations: 89.58 kB / 0.5571 GB, free: 13.81 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.007409, allocations: 51.41 kB / 0.5572 GB, free: 13.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.007501, allocations: 97.84 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.007522, allocations: 25.7 kB / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.007584, allocations: 88.14 kB / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.007604, allocations: 7.891 kB / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.007636, allocations: 9.719 kB / 0.5574 GB, free: 13.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.007813, allocations: 318.8 kB / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.007902, allocations: 20.09 kB / 0.5577 GB, free: 13.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.00799, allocations: 19.92 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.008149, allocations: 36.83 kB / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.008151, allocations: 0 / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002104/0.008361, allocations: 65.75 kB / 0.5578 GB, free: 13.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.008375, allocations: 8 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.008382, allocations: 3.938 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.008399, allocations: 4 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.008479, allocations: 7.984 kB / 0.5579 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.008483, allocations: 0 / 0.5579 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.008534, allocations: 8.141 kB / 0.5579 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.008542, allocations: 3.984 kB / 0.5579 GB, free: 13 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 (2): * Single equations (assignments): 2 * 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 9.021e-05/0.008632, allocations: 117.8 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.00866, allocations: 3.984 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.008896, allocations: 76.91 kB / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008899, allocations: 0 / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.008902, allocations: 0 / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.008904, allocations: 0 / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.009054, allocations: 105.3 kB / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009055, allocations: 0 / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.009117, allocations: 15.92 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009119, allocations: 0 / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.009126, allocations: 4.031 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.009131, allocations: 3.938 kB / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009132, allocations: 0 / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.009409, allocations: 163.5 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.009418, allocations: 4 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.009429, allocations: 0 / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.009516, allocations: 11.92 kB / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.009551, allocations: 0 / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.009554, allocations: 4.031 kB / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.475e-05/0.009609, allocations: 83.28 kB / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009609, allocations: 0 / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.009873, allocations: 23.89 kB / 0.5585 GB, free: 12.33 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 (2): * Single equations (assignments): 2 * 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.0001979/0.01007, allocations: 111.2 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.01029, allocations: 43.89 kB / 0.5586 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01029, allocations: 0 / 0.5586 GB, free: 12.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.01038, allocations: 19.98 kB / 0.5586 GB, free: 12.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.01061, allocations: 8 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.01091, allocations: 99.83 kB / 0.5587 GB, free: 12.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.01108, allocations: 63.34 kB / 0.5588 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.268e-05/0.01111, allocations: 4.125 kB / 0.5588 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.01113, allocations: 8.5 kB / 0.5588 GB, free: 11.93 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01113, allocations: 4 kB / 0.5588 GB, free: 11.93 MB / 490.7 MB Notification: Performance of Templates: time 0.003269/0.0144, allocations: 0.7095 MB / 0.5595 GB, free: 11.23 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.470439831027761]