Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8793/0.8793, allocations: 127.4 MB / 134.9 MB, free: 3.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 183.2 kB / 164.7 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.2 MB / 399.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008096/0.0008096, allocations: 82.48 kB / 476.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.433e-05, allocations: 8.891 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1637, allocations: 76.76 MB / 0.6215 GB, free: 43.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.296, allocations: 101.3 MB / 0.7205 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.2964, allocations: 75.95 kB / 0.7206 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003783/0.3002, allocations: 1.285 MB / 0.7218 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3002, allocations: 0 / 0.7218 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3002, allocations: 0 / 0.7218 GB, free: 4.328 MB / 0.4948 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.0002493/0.3005, allocations: 322.6 kB / 0.7221 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3005, allocations: 12.03 kB / 0.7221 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.3006, allocations: 3.953 kB / 0.7221 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.801e-05/0.3007, allocations: 163.1 kB / 0.7223 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3007, allocations: 0 / 0.7223 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.3007, allocations: 0 / 0.7223 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.795e-05/0.3008, allocations: 4 kB / 0.7223 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.921e-05/0.3008, allocations: 29.64 kB / 0.7223 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3008, allocations: 0 / 0.7223 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3008, allocations: 0 / 0.7223 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3009, allocations: 0 / 0.7223 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.301, allocations: 134.2 kB / 0.7224 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.979e-05/0.301, allocations: 18.58 kB / 0.7225 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.3011, allocations: 4.859 kB / 0.7225 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005853/0.3017, allocations: 441.6 kB / 0.7229 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.3017, allocations: 50.55 kB / 0.7229 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.3017, allocations: 0 / 0.7229 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001631/0.3019, allocations: 33.64 kB / 0.723 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.3019, allocations: 51.41 kB / 0.723 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.376e-05/0.302, allocations: 85 kB / 0.7231 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.302, allocations: 25.7 kB / 0.7231 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.302, allocations: 80.14 kB / 0.7232 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.3021, allocations: 3.969 kB / 0.7232 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.3021, allocations: 4 kB / 0.7232 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3022, allocations: 310.8 kB / 0.7235 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.3022, allocations: 6.156 kB / 0.7235 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.3022, allocations: 0 / 0.7235 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.3023, allocations: 3.953 kB / 0.7235 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3023, allocations: 0 / 0.7235 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.935e-05/0.3024, allocations: 33.69 kB / 0.7235 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3024, allocations: 11.94 kB / 0.7236 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3024, allocations: 4.094 kB / 0.7236 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3024, allocations: 0 / 0.7236 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.3025, allocations: 0 / 0.7236 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.3025, allocations: 3.938 kB / 0.7236 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.3025, allocations: 8 kB / 0.7236 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.3025, allocations: 0 / 0.7236 GB, free: 2.23 MB / 0.4948 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 (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.636e-05/0.3026, allocations: 108.9 kB / 0.7237 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.3026, allocations: 0 / 0.7237 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.3027, allocations: 41.44 kB / 0.7237 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3027, allocations: 0 / 0.7237 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3027, allocations: 0 / 0.7237 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3027, allocations: 0 / 0.7237 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.659e-05/0.3028, allocations: 126.2 kB / 0.7238 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3028, allocations: 0 / 0.7238 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.3028, allocations: 3.984 kB / 0.7238 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3028, allocations: 3.953 kB / 0.7238 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3028, allocations: 0 / 0.7238 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3029, allocations: 4 kB / 0.7238 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3029, allocations: 0 / 0.7238 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.886e-05/0.3029, allocations: 61.11 kB / 0.7239 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.303, allocations: 81.02 kB / 0.724 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.303, allocations: 7.938 kB / 0.724 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.303, allocations: 0 / 0.724 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.3031, allocations: 4 kB / 0.724 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.3031, allocations: 0 / 0.724 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.3031, allocations: 75.28 kB / 0.7241 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3031, allocations: 4.031 kB / 0.7241 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002192/0.3033, allocations: 16 kB / 0.7241 GB, free: 1.621 MB / 0.4948 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 (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.0002751/0.3036, allocations: 127.2 kB / 0.7242 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.093e-05/0.3037, allocations: 4 kB / 0.7242 GB, free: 1.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3037, allocations: 4.062 kB / 0.7242 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.236e-06/0.3037, allocations: 7.938 kB / 0.7242 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.3038, allocations: 0 / 0.7242 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.304, allocations: 52 kB / 0.7243 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.3043, allocations: 0.669 MB / 0.7249 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.604e-05/0.3043, allocations: 8 kB / 0.7249 GB, free: 0.6914 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.3043, allocations: 7.438 kB / 0.7249 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of SimCode: time 3.31e-07/0.3043, allocations: 0 / 0.7249 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of Templates: time 0.002346/0.3067, allocations: 379.9 kB / 0.7253 GB, free: 320 kB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)