Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008449/0.000845, allocations: 92.09 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009226/0.0009229, allocations: 184.8 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7516/0.7516, allocations: 115.5 MB / 407.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003837, allocations: 16.75 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1849, allocations: 77.53 MB / 0.5599 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007426/0.1857, allocations: 307.7 kB / 0.5602 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005397/0.1863, allocations: 198.1 kB / 0.5604 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.096e-05/0.1863, allocations: 0 / 0.5604 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.234e-05/0.1863, allocations: 0 / 0.5604 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.125e-06/0.1863, allocations: 0 / 0.5604 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1867, allocations: 47.83 kB / 0.5605 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.299e-05/0.1867, allocations: 0 / 0.5605 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.1868, allocations: 4 kB / 0.5605 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.1868, allocations: 0 / 0.5605 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.462e-05/0.1868, allocations: 0 / 0.5605 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.1869, allocations: 4 kB / 0.5605 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.1871, allocations: 67.86 kB / 0.5605 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.1871, allocations: 0 / 0.5605 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.1871, allocations: 29.7 kB / 0.5606 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.1873, allocations: 27.95 kB / 0.5606 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1873, allocations: 0 / 0.5606 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1873, allocations: 0 / 0.5606 GB, free: 8.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1873, allocations: 0 / 0.5606 GB, free: 8.359 MB / 430.1 MB 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.0003204/0.1876, allocations: 319.6 kB / 0.5609 GB, free: 7.996 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1877, allocations: 12.03 kB / 0.5609 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.1877, allocations: 0.9375 kB / 0.5609 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.1878, allocations: 172.3 kB / 0.5611 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1878, allocations: 4.375 kB / 0.5611 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.1879, allocations: 384 / 0.5611 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.188, allocations: 30.2 kB / 0.5611 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.188, allocations: 192 / 0.5611 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.188, allocations: 3.938 kB / 0.5611 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.188, allocations: 4 kB / 0.5611 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.188, allocations: 0 / 0.5611 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.1882, allocations: 153.7 kB / 0.5613 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.1882, allocations: 22.55 kB / 0.5613 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.1883, allocations: 4.859 kB / 0.5613 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007758/0.189, allocations: 461.5 kB / 0.5617 GB, free: 6.949 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1891, allocations: 30.56 kB / 0.5618 GB, free: 6.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.1891, allocations: 3.938 kB / 0.5618 GB, free: 6.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.1892, allocations: 37.62 kB / 0.5618 GB, free: 6.863 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1893, allocations: 51.41 kB / 0.5619 GB, free: 6.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.442e-05/0.1893, allocations: 89.86 kB / 0.5619 GB, free: 6.703 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1893, allocations: 29.7 kB / 0.562 GB, free: 6.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.1894, allocations: 84.08 kB / 0.5621 GB, free: 6.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1894, allocations: 4.125 kB / 0.5621 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.1894, allocations: 9.719 kB / 0.5621 GB, free: 6.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1895, allocations: 314.8 kB / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.1896, allocations: 0 / 0.5624 GB, free: 6.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-06/0.1896, allocations: 4 kB / 0.5624 GB, free: 6.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.49e-05/0.1896, allocations: 4.859 kB / 0.5624 GB, free: 6.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1896, allocations: 0 / 0.5624 GB, free: 6.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.896e-05/0.1897, allocations: 41.66 kB / 0.5624 GB, free: 6.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1897, allocations: 8.031 kB / 0.5624 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1897, allocations: 0 / 0.5624 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1897, allocations: 7.922 kB / 0.5624 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.1898, allocations: 7.938 kB / 0.5624 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1898, allocations: 0 / 0.5624 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-06/0.1898, allocations: 0 / 0.5624 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.1898, allocations: 0 / 0.5624 GB, free: 6.164 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.1899, allocations: 109.8 kB / 0.5625 GB, free: 6.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.1899, allocations: 3.984 kB / 0.5625 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.864e-05/0.19, allocations: 40.77 kB / 0.5626 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.19, allocations: 4 kB / 0.5626 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.19, allocations: 0 / 0.5626 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.19, allocations: 3.938 kB / 0.5626 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.395e-05/0.1901, allocations: 145.7 kB / 0.5627 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1901, allocations: 0 / 0.5627 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.1901, allocations: 4 kB / 0.5627 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1901, allocations: 0 / 0.5627 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1902, allocations: 3.938 kB / 0.5627 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1902, allocations: 0 / 0.5627 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1902, allocations: 7.969 kB / 0.5627 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.304e-05/0.1902, allocations: 57.12 kB / 0.5628 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.1903, allocations: 81.11 kB / 0.5629 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1903, allocations: 3.938 kB / 0.5629 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.1903, allocations: 4 kB / 0.5629 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.1903, allocations: 0 / 0.5629 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1903, allocations: 0 / 0.5629 GB, free: 5.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.606e-05/0.1904, allocations: 79.31 kB / 0.563 GB, free: 5.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1904, allocations: 0 / 0.563 GB, free: 5.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001988/0.1906, allocations: 19.94 kB / 0.563 GB, free: 5.508 MB / 430.1 MB 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 (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.0002163/0.1908, allocations: 115.2 kB / 0.5631 GB, free: 5.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.1909, allocations: 7.938 kB / 0.5631 GB, free: 5.375 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1909, allocations: 4.062 kB / 0.5631 GB, free: 5.371 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.1909, allocations: 4 kB / 0.5631 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.191, allocations: 0 / 0.5631 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.1912, allocations: 78.75 kB / 0.5632 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1915, allocations: 0.6731 MB / 0.5638 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.311e-05/0.1915, allocations: 0 / 0.5638 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.279e-05/0.1915, allocations: 11.38 kB / 0.5638 GB, free: 4.555 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1915, allocations: 0 / 0.5638 GB, free: 4.555 MB / 430.1 MB Notification: Performance of Templates: time 0.002443/0.194, allocations: 392.8 kB / 0.5642 GB, free: 4.172 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)