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.00137/0.00137, 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.001533/0.001533, allocations: 157.7 kB / 22.75 MB, free: 1.676 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.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.566 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.002625/0.002625, allocations: 229.5 kB / 259.8 MB, free: 12.86 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.123/1.123, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.573e-06/1.573e-06, allocations: 0 / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.729e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.00163/0.001658, allocations: 0.5926 MB / 0.555 GB, free: 212 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004648/0.002122, allocations: 167.4 kB / 0.5551 GB, free: 44 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.026e-05/0.002133, allocations: 4 kB / 0.5551 GB, free: 40 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.095e-05/0.002144, allocations: 0 / 0.5551 GB, free: 40 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 4.86e-06/0.002148, allocations: 0 / 0.5551 GB, free: 40 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.002529, allocations: 51.81 kB / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.18e-05/0.002561, allocations: 3.938 kB / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.918e-05/0.00259, allocations: 4 kB / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.00261, allocations: 0 / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.022e-05/0.00263, allocations: 0 / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.002638, allocations: 0 / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.002816, allocations: 59.81 kB / 0.5552 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/0.002826, allocations: 8 kB / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.604e-05/0.002842, allocations: 0 / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.002968, allocations: 43.92 kB / 0.5553 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00297, allocations: 0 / 0.5553 GB, free: 15.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002971, allocations: 0 / 0.5553 GB, free: 15.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.125e-06/0.002974, allocations: 0 / 0.5553 GB, free: 15.87 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.0003055/0.003279, allocations: 246.3 kB / 0.5555 GB, free: 15.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.003314, allocations: 8.75 kB / 0.5555 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.003352, allocations: 4.938 kB / 0.5555 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.003448, allocations: 101.8 kB / 0.5556 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.003458, allocations: 384 / 0.5556 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.003464, allocations: 4.375 kB / 0.5556 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.354e-05/0.003547, allocations: 38.2 kB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.003554, allocations: 192 / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.003561, allocations: 384 / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.003564, allocations: 384 / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.003583, allocations: 3.938 kB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.003723, allocations: 101.3 kB / 0.5558 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.293e-05/0.003766, allocations: 14.58 kB / 0.5558 GB, free: 15.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.003785, allocations: 8.953 kB / 0.5558 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005399/0.004324, allocations: 75.86 kB / 0.5559 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.004358, allocations: 30.56 kB / 0.5559 GB, free: 15.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.004359, allocations: 0 / 0.5559 GB, free: 15.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000141/0.0045, allocations: 41.69 kB / 0.5559 GB, free: 15.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.004543, allocations: 51.41 kB / 0.556 GB, free: 15.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.004607, allocations: 89.86 kB / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.004625, allocations: 25.7 kB / 0.5561 GB, free: 14.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.004668, allocations: 88.2 kB / 0.5562 GB, free: 14.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.004692, allocations: 3.953 kB / 0.5562 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.004724, allocations: 13.72 kB / 0.5562 GB, free: 14.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.004896, allocations: 318.8 kB / 0.5565 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.004907, allocations: 3.938 kB / 0.5565 GB, free: 14.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.004914, allocations: 4 kB / 0.5565 GB, free: 14.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.004944, allocations: 8.859 kB / 0.5565 GB, free: 14.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004945, allocations: 0 / 0.5565 GB, free: 14.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.337e-05/0.005008, allocations: 37.69 kB / 0.5566 GB, free: 14.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.005021, allocations: 8.094 kB / 0.5566 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.005025, allocations: 0 / 0.5566 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.005039, allocations: 0 / 0.5566 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.666e-05/0.005075, allocations: 4 kB / 0.5566 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.005079, allocations: 0 / 0.5566 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.209e-05/0.005091, allocations: 3.938 kB / 0.5566 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.005095, allocations: 0 / 0.5566 GB, free: 14.38 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.508e-05/0.00518, allocations: 113.8 kB / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.00519, allocations: 3.984 kB / 0.5567 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-05/0.005264, allocations: 36.7 kB / 0.5567 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005266, allocations: 4.031 kB / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.005269, allocations: 0 / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.005271, allocations: 0 / 0.5567 GB, free: 14.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.68e-05/0.005367, allocations: 105.3 kB / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.005371, allocations: 3.984 kB / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.187e-05/0.005382, allocations: 0 / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.005384, allocations: 0 / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.005388, allocations: 0 / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005389, allocations: 0 / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00539, allocations: 0 / 0.5568 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.408e-05/0.005484, allocations: 69.02 kB / 0.5569 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.005493, allocations: 7.984 kB / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.005502, allocations: 0 / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-06/0.005509, allocations: 0 / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.005522, allocations: 3.984 kB / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.005524, allocations: 0 / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.005565, allocations: 75.28 kB / 0.557 GB, free: 13.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005565, allocations: 3.938 kB / 0.557 GB, free: 13.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.005764, allocations: 15.94 kB / 0.557 GB, free: 13.89 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.0002023/0.005966, allocations: 119.2 kB / 0.5571 GB, free: 13.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.273e-05/0.006018, allocations: 4 kB / 0.5571 GB, free: 13.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.00602, allocations: 0 / 0.5571 GB, free: 13.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.06e-05/0.00603, allocations: 11.94 kB / 0.5571 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.006155, allocations: 5.266 kB / 0.5571 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.006358, allocations: 86.27 kB / 0.5572 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.814e-05/0.006426, allocations: 55.48 kB / 0.5573 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.478e-06/0.006435, allocations: 4 kB / 0.5573 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.006456, allocations: 8.5 kB / 0.5573 GB, free: 13.55 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.006457, allocations: 0 / 0.5573 GB, free: 13.55 MB / 490.7 MB Notification: Performance of Templates: time 0.002663/0.00912, allocations: 433.1 kB / 0.5577 GB, free: 13.13 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.502292529097758]