Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009073/0.0009073, allocations: 180.1 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 0.5785 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007377/0.0007377, allocations: 91.97 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 15.14 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1739, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.3235, allocations: 131.2 MB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.3237, allocations: 71.95 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003168/0.3269, allocations: 1.254 MB / 1.031 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3269, allocations: 0 / 1.031 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.327, allocations: 0 / 1.031 GB, free: 11.4 MB / 0.6823 GB 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.0002371/0.3272, allocations: 327.5 kB / 1.031 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3272, allocations: 8.031 kB / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.3273, allocations: 4.938 kB / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.705e-05/0.3274, allocations: 164.4 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3274, allocations: 4.375 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.3274, allocations: 384 / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.427e-05/0.3275, allocations: 34.2 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3275, allocations: 192 / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3275, allocations: 3.938 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3275, allocations: 0 / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.3275, allocations: 4 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.3277, allocations: 145.7 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/0.3277, allocations: 24.14 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.3278, allocations: 8.859 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005287/0.3283, allocations: 441.5 kB / 1.032 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3283, allocations: 34.56 kB / 1.032 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.3283, allocations: 0 / 1.032 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.3285, allocations: 33.77 kB / 1.032 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.3285, allocations: 59.41 kB / 1.032 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.085e-05/0.3286, allocations: 89.86 kB / 1.032 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3286, allocations: 25.7 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.3286, allocations: 80.14 kB / 1.032 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.3286, allocations: 3.906 kB / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-06/0.3286, allocations: 0 / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3288, allocations: 322.8 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-06/0.3288, allocations: 0 / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-06/0.3288, allocations: 11.94 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.3288, allocations: 4.859 kB / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3288, allocations: 0 / 1.032 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.969e-05/0.3289, allocations: 37.64 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3289, allocations: 4 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3289, allocations: 0 / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3289, allocations: 3.938 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.18e-05/0.329, allocations: 11.98 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.329, allocations: 0 / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.329, allocations: 4.094 kB / 1.032 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.329, allocations: 0 / 1.032 GB, free: 9.23 MB / 0.6823 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 (1): * Single equations (assignments): 1 * 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 5.383e-05/0.3291, allocations: 109.8 kB / 1.033 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.3291, allocations: 0 / 1.033 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.3292, allocations: 40.7 kB / 1.033 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3292, allocations: 4 kB / 1.033 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3292, allocations: 3.984 kB / 1.033 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3292, allocations: 3.984 kB / 1.033 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.583e-05/0.3293, allocations: 145.7 kB / 1.033 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3293, allocations: 0 / 1.033 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.3293, allocations: 4 kB / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3293, allocations: 0 / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.3293, allocations: 3.938 kB / 1.033 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3293, allocations: 0 / 1.033 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3293, allocations: 0 / 1.033 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.956e-05/0.3294, allocations: 65.06 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.3294, allocations: 81.14 kB / 1.033 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3294, allocations: 3.938 kB / 1.033 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-06/0.3295, allocations: 0 / 1.033 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.3295, allocations: 0 / 1.033 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.3295, allocations: 0 / 1.033 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.195e-05/0.3295, allocations: 75.28 kB / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3295, allocations: 0 / 1.033 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002001/0.3297, allocations: 31.92 kB / 1.033 GB, free: 8.566 MB / 0.6823 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 (1): * Single equations (assignments): 1 * 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.0002306/0.33, allocations: 127.2 kB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.33, allocations: 4 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.33, allocations: 3.938 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.33, allocations: 7.938 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.3302, allocations: 2.016 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.3304, allocations: 78.77 kB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3306, allocations: 0.6808 MB / 1.034 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.519e-05/0.3306, allocations: 4 kB / 1.034 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.405e-05/0.3307, allocations: 7.438 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of SimCode: time 3.4e-07/0.3307, allocations: 0 / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.002195/0.3329, allocations: 383.9 kB / 1.034 GB, free: 7.215 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)