Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 176.8 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008969/0.000897, allocations: 97.83 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.775e-05, allocations: 4 kB / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6889, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.8812, allocations: 137.4 MB / 1.099 GB, free: 2.414 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.8815, allocations: 72.45 kB / 1.099 GB, free: 2.344 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004406/0.8859, allocations: 1.549 MB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.223e-06/0.886, allocations: 4 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.886, allocations: 0.5312 kB / 1.1 GB, free: 0.8281 MB / 0.698 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.0003572/0.8863, allocations: 349.9 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8864, allocations: 8.531 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.8864, allocations: 8.938 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.8866, allocations: 170.9 kB / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.8866, allocations: 0.7188 kB / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.8866, allocations: 0 / 1.101 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.126e-05/0.8867, allocations: 17.66 kB / 1.101 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.464e-05/0.8868, allocations: 37.69 kB / 1.101 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.8868, allocations: 0.5 kB / 1.101 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.8868, allocations: 0.625 kB / 1.101 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8868, allocations: 0 / 1.101 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.8873, allocations: 250.7 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.8873, allocations: 31.56 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.8874, allocations: 9.453 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.8879, allocations: 447.6 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.888, allocations: 38.06 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.888, allocations: 1.531 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/0.8882, allocations: 37.7 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.8882, allocations: 55.39 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.8883, allocations: 89.88 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.8883, allocations: 25.7 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.8884, allocations: 89.55 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.8884, allocations: 3.906 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.8884, allocations: 0 / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.8885, allocations: 321.4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.8885, allocations: 4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.8885, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.8886, allocations: 19.88 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8886, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.684e-05/0.8887, allocations: 33.7 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8887, allocations: 8 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.8887, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8887, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.8888, allocations: 16.08 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.8888, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.8889, allocations: 15.98 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.8889, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.889, allocations: 104.9 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.889, allocations: 3.906 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.8891, allocations: 53.38 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.8891, allocations: 7.047 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8891, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8891, allocations: 0 / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.8893, allocations: 134.2 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8893, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.8894, allocations: 12.64 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8894, allocations: 3.953 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.8894, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.8894, allocations: 7.078 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8894, allocations: 3.312 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.8895, allocations: 135.5 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.8896, allocations: 77.11 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.8896, allocations: 11.23 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.8897, allocations: 7.984 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.8897, allocations: 4.031 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.8897, allocations: 7.938 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.8898, allocations: 79.28 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8898, allocations: 3.938 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002402/0.89, allocations: 27.92 kB / 1.103 GB, free: 13.77 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002965/0.8903, allocations: 139 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.938e-05/0.8904, allocations: 12 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8904, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/0.8904, allocations: 8 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.8906, allocations: 1.406 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.8908, allocations: 55.94 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.8911, allocations: 0.6885 MB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.8911, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.8911, allocations: 7.438 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8911, allocations: 0 / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of Templates: time 0.002525/0.8937, allocations: 0.5294 MB / 1.104 GB, free: 12.31 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)