Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009774/0.0009774, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0009905/0.0009905, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 270.8 kB / 291.3 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 19.34 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1815, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.0006683/0.1822, allocations: 311.2 kB / 0.6848 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003568/0.1825, allocations: 172.8 kB / 0.685 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-06/0.1826, allocations: 1.562 kB / 0.685 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.594e-06/0.1826, allocations: 0 / 0.685 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.1826, allocations: 0 / 0.685 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.1829, allocations: 39.91 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.953e-05/0.1829, allocations: 5.156 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.183, allocations: 0 / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.019e-05/0.183, allocations: 0 / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.258e-05/0.183, allocations: 1.906 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.761e-06/0.183, allocations: 3.938 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1832, allocations: 67.86 kB / 0.6851 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-06/0.1832, allocations: 0 / 0.6851 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.1832, allocations: 25.7 kB / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.972e-05/0.1833, allocations: 18.5 kB / 0.6851 GB, free: 14.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1833, allocations: 0 / 0.6851 GB, free: 14.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1833, allocations: 4 kB / 0.6851 GB, free: 14.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1833, allocations: 0 / 0.6851 GB, free: 14.81 MB / 494.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.0002326/0.1835, allocations: 319.4 kB / 0.6854 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1836, allocations: 8.531 kB / 0.6854 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.1836, allocations: 0 / 0.6854 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.387e-05/0.1837, allocations: 176 kB / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1837, allocations: 0 / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.1837, allocations: 0 / 0.6856 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.383e-05/0.1838, allocations: 31.27 kB / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.1838, allocations: 0 / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.1838, allocations: 0 / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1838, allocations: 0.75 kB / 0.6856 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.1839, allocations: 4 kB / 0.6856 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.184, allocations: 155.3 kB / 0.6858 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.488e-05/0.184, allocations: 18.52 kB / 0.6858 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.1841, allocations: 9.516 kB / 0.6858 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006169/0.1847, allocations: 452.2 kB / 0.6862 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1847, allocations: 34.56 kB / 0.6863 GB, free: 13.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1847, allocations: 1.812 kB / 0.6863 GB, free: 13.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.1849, allocations: 37.62 kB / 0.6863 GB, free: 13.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.1849, allocations: 51.41 kB / 0.6864 GB, free: 13.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.988e-05/0.1849, allocations: 90.58 kB / 0.6864 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.1849, allocations: 25.7 kB / 0.6865 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.185, allocations: 81.02 kB / 0.6865 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.185, allocations: 3.938 kB / 0.6865 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.185, allocations: 4.625 kB / 0.6866 GB, free: 13.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.702e-05/0.1851, allocations: 320.2 kB / 0.6869 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.1851, allocations: 0 / 0.6869 GB, free: 12.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.1851, allocations: 3.938 kB / 0.6869 GB, free: 12.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.64e-05/0.1851, allocations: 0.6562 kB / 0.6869 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1851, allocations: 8.188 kB / 0.6869 GB, free: 12.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.402e-05/0.1852, allocations: 33.69 kB / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1852, allocations: 4 kB / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1852, allocations: 0 / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.1852, allocations: 0 / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.611e-05/0.1853, allocations: 4 kB / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1853, allocations: 0 / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-06/0.1853, allocations: 288 / 0.6869 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1853, allocations: 4 kB / 0.6869 GB, free: 12.67 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/0.1854, allocations: 118.5 kB / 0.687 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.1854, allocations: 7.938 kB / 0.687 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.1855, allocations: 40.75 kB / 0.6871 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.1855, allocations: 0 / 0.6871 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1855, allocations: 0 / 0.6871 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1855, allocations: 0 / 0.6871 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.332e-05/0.1856, allocations: 153.5 kB / 0.6872 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1856, allocations: 0 / 0.6872 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.1856, allocations: 4 kB / 0.6872 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1856, allocations: 0 / 0.6872 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.1856, allocations: 4.031 kB / 0.6872 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1856, allocations: 0 / 0.6872 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1856, allocations: 0 / 0.6872 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.814e-05/0.1857, allocations: 61.08 kB / 0.6873 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.1857, allocations: 85.05 kB / 0.6874 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-06/0.1857, allocations: 0 / 0.6874 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-06/0.1857, allocations: 0 / 0.6874 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.1857, allocations: 4.031 kB / 0.6874 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.1857, allocations: 0 / 0.6874 GB, free: 12.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.884e-05/0.1858, allocations: 75.28 kB / 0.6874 GB, free: 12.03 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1858, allocations: 4 kB / 0.6874 GB, free: 12.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.186, allocations: 8 kB / 0.6875 GB, free: 12.02 MB / 494.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 (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.0001731/0.1862, allocations: 131.2 kB / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.668e-05/0.1862, allocations: 8 kB / 0.6876 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1862, allocations: 3.938 kB / 0.6876 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-06/0.1862, allocations: 3.938 kB / 0.6876 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.1864, allocations: 4 kB / 0.6876 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001362/0.1865, allocations: 74.75 kB / 0.6877 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.1867, allocations: 0.6692 MB / 0.6883 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.347e-06/0.1867, allocations: 0 / 0.6883 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.1867, allocations: 11.56 kB / 0.6883 GB, free: 11.05 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1867, allocations: 4 kB / 0.6883 GB, free: 11.05 MB / 494.1 MB Notification: Performance of Templates: time 0.002059/0.1888, allocations: 400.3 kB / 0.6887 GB, free: 10.66 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)