Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.997/1.997, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 195.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 121.3 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 50.64 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2418, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002086/0.2439, allocations: 1.488 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000424/0.2444, allocations: 252.1 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.2444, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.2444, allocations: 0 / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.2445, allocations: 3.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.2447, allocations: 47.89 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 4.757e-05/0.2448, allocations: 15.98 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.2449, allocations: 7.938 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.2449, allocations: 19.92 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.2449, allocations: 7.984 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.245, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.2451, allocations: 63.89 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.2451, allocations: 11.92 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.2451, allocations: 3.984 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2453, allocations: 51.88 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2453, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 6.81e-07/0.2453, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.307e-06/0.2453, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB 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.0003459/0.2456, allocations: 345.5 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2457, allocations: 11.98 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.2457, allocations: 0.9375 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.972e-05/0.2458, allocations: 168.4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-06/0.2458, allocations: 384 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.2458, allocations: 384 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.2459, allocations: 58.17 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.246, allocations: 4.188 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.246, allocations: 7.875 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.246, allocations: 3.938 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2461, allocations: 31.97 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.2464, allocations: 256.8 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2465, allocations: 46.44 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.2466, allocations: 24.91 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004605/0.247, allocations: 453.5 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.2471, allocations: 34.56 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2471, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002969/0.2474, allocations: 81.64 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.2474, allocations: 51.41 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.3e-05/0.2474, allocations: 105.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.024e-06/0.2475, allocations: 29.64 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.2475, allocations: 84.27 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.2475, allocations: 3.906 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.2475, allocations: 17.72 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.2476, allocations: 310.8 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/0.2477, allocations: 19.97 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.2477, allocations: 15.98 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2479, allocations: 36.89 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2479, allocations: 0 / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001579/0.248, allocations: 73.59 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.248, allocations: 4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2481, allocations: 4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2481, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.2481, allocations: 15.95 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2482, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.2482, allocations: 8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.2482, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB 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 3.967e-05/0.2483, allocations: 118.4 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.2483, allocations: 192 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.2485, allocations: 80.77 kB / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2485, allocations: 0 / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2485, allocations: 0 / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2485, allocations: 0 / 1.222 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2486, allocations: 157.6 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2486, allocations: 3.984 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.2487, allocations: 11.94 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2487, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.2487, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2487, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2487, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.2491, allocations: 0.7316 MB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.2491, allocations: 77.11 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.2492, allocations: 3.984 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.2492, allocations: 12.03 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.2493, allocations: 3.984 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2493, allocations: 3.938 kB / 1.223 GB, free: 111.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.923e-05/0.2493, allocations: 79.28 kB / 1.223 GB, free: 111.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.2493, allocations: 0 / 1.223 GB, free: 111.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003025/0.2496, allocations: 16 kB / 1.223 GB, free: 111.2 MB / 0.823 GB 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.0001758/0.2498, allocations: 119.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.25, allocations: 31.97 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.25, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.2501, allocations: 27.91 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.2503, allocations: 4.938 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.2506, allocations: 218.2 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.2508, allocations: 0.677 MB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.2508, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.2508, allocations: 7.438 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.2508, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of Templates: time 0.002319/0.2532, allocations: 0.6012 MB / 1.225 GB, free: 109.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)