Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008127/0.0008128, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005731/0.005731, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004933, allocations: 13.84 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1973, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001495/0.1988, allocations: 1.152 MB / 0.789 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005421/0.1994, allocations: 261.2 kB / 0.7892 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.303e-05/0.1994, allocations: 8 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.1995, allocations: 3.938 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.1995, allocations: 3.938 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.1998, allocations: 43.91 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.946e-05/0.1999, allocations: 19.92 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.2, allocations: 11.98 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.2, allocations: 7.984 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.489e-05/0.2001, allocations: 7.938 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.2001, allocations: 8 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2002, allocations: 63.88 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.2003, allocations: 7.984 kB / 0.7894 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.2003, allocations: 29.64 kB / 0.7894 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2004, allocations: 47.86 kB / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2004, allocations: 3.984 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2004, allocations: 0 / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.2004, allocations: 0 / 0.7895 GB, free: 9.898 MB / 0.6075 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.0004001/0.2009, allocations: 355.7 kB / 0.7898 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2009, allocations: 12.03 kB / 0.7898 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.2009, allocations: 4.875 kB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.995e-05/0.201, allocations: 160.4 kB / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2011, allocations: 384 / 0.79 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2011, allocations: 4.375 kB / 0.79 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.2013, allocations: 58.22 kB / 0.7901 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.2013, allocations: 4.188 kB / 0.7901 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2013, allocations: 3.938 kB / 0.7901 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2013, allocations: 0 / 0.7901 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.2015, allocations: 43.95 kB / 0.7901 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.2018, allocations: 252.9 kB / 0.7904 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2019, allocations: 46.5 kB / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.128e-05/0.202, allocations: 24.89 kB / 0.7904 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.2026, allocations: 465.5 kB / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2027, allocations: 30.56 kB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2027, allocations: 0 / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.2031, allocations: 105.5 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.2031, allocations: 55.41 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.271e-05/0.2032, allocations: 97.98 kB / 0.7911 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2032, allocations: 25.7 kB / 0.7912 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.2032, allocations: 88.12 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.2033, allocations: 7.906 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.2033, allocations: 17.64 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.2034, allocations: 310.8 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.2035, allocations: 19.98 kB / 0.7916 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.2036, allocations: 23.98 kB / 0.7916 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.2037, allocations: 52.88 kB / 0.7917 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2037, allocations: 7.938 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002027/0.2039, allocations: 77.55 kB / 0.7917 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.204, allocations: 8 kB / 0.7918 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.204, allocations: 3.984 kB / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.204, allocations: 0 / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.2041, allocations: 12.03 kB / 0.7918 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.2041, allocations: 0 / 0.7918 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.2042, allocations: 15.98 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2042, allocations: 0 / 0.7918 GB, free: 7.234 MB / 0.6075 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 6.633e-05/0.2042, allocations: 109.8 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2043, allocations: 4 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.2045, allocations: 84.72 kB / 0.792 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2045, allocations: 7.984 kB / 0.792 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2045, allocations: 0 / 0.792 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2045, allocations: 0 / 0.792 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.2047, allocations: 161.5 kB / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2047, allocations: 4.031 kB / 0.7921 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.2048, allocations: 11.98 kB / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2048, allocations: 0 / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.2048, allocations: 0 / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.2048, allocations: 0 / 0.7922 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2048, allocations: 4 kB / 0.7922 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.205, allocations: 179.4 kB / 0.7923 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.2051, allocations: 77.11 kB / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.2051, allocations: 0 / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.2052, allocations: 11.98 kB / 0.7924 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.2052, allocations: 3.938 kB / 0.7924 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.2052, allocations: 4.031 kB / 0.7924 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.2053, allocations: 87.45 kB / 0.7925 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2053, allocations: 0 / 0.7925 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002394/0.2055, allocations: 20 kB / 0.7925 GB, free: 6.379 MB / 0.6075 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.0001878/0.2057, allocations: 111.3 kB / 0.7926 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.2059, allocations: 47.95 kB / 0.7927 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.206, allocations: 4 kB / 0.7927 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.114e-05/0.2061, allocations: 28.05 kB / 0.7927 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.2063, allocations: 7.922 kB / 0.7927 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.2065, allocations: 112.6 kB / 0.7928 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2067, allocations: 0.677 MB / 0.7935 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.2068, allocations: 0 / 0.7935 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.2068, allocations: 7.438 kB / 0.7935 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2068, allocations: 8 kB / 0.7935 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.00259/0.2094, allocations: 0.5907 MB / 0.7941 GB, free: 4.742 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) Environment - environmentSimulation: