Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008432/0.0008432, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009892/0.0009892, allocations: 168.7 kB / 15.95 MB, free: 204 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.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 267.1 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9406/0.9406, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004318, allocations: 12.91 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1786, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.001555/0.1802, allocations: 1.145 MB / 0.6856 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004479/0.1806, allocations: 240.7 kB / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.1807, allocations: 2.312 kB / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1807, allocations: 0 / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.1807, allocations: 3.938 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.181, allocations: 43.97 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.1811, allocations: 19.91 kB / 0.6859 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.078e-05/0.1812, allocations: 6.875 kB / 0.6859 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.1812, allocations: 11.92 kB / 0.6859 GB, free: 14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.504e-05/0.1813, allocations: 8 kB / 0.6859 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.1813, allocations: 3.938 kB / 0.6859 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1814, allocations: 63.88 kB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.1814, allocations: 0 / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1815, allocations: 33.64 kB / 0.686 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1816, allocations: 37.45 kB / 0.6861 GB, free: 13.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1816, allocations: 4 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1816, allocations: 0 / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1816, allocations: 0 / 0.6861 GB, free: 13.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004294/0.182, allocations: 347.1 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1821, allocations: 12.03 kB / 0.6864 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1821, allocations: 3.906 kB / 0.6864 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1822, allocations: 167 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1823, allocations: 4 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1823, allocations: 0.5 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1825, allocations: 58.77 kB / 0.6866 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1825, allocations: 0.7188 kB / 0.6866 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1825, allocations: 0 / 0.6866 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1825, allocations: 1 kB / 0.6866 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.1827, allocations: 52.58 kB / 0.6867 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.183, allocations: 244.9 kB / 0.6869 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.1831, allocations: 47.22 kB / 0.687 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.1832, allocations: 26.19 kB / 0.687 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006254/0.1838, allocations: 460 kB / 0.6874 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.1839, allocations: 42.5 kB / 0.6875 GB, free: 12.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1839, allocations: 0 / 0.6875 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000352/0.1843, allocations: 97.73 kB / 0.6875 GB, free: 12.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.1843, allocations: 55.36 kB / 0.6876 GB, free: 12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.89e-05/0.1844, allocations: 97.86 kB / 0.6877 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1844, allocations: 25.7 kB / 0.6877 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.1845, allocations: 84.12 kB / 0.6878 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1845, allocations: 11.91 kB / 0.6878 GB, free: 11.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.1845, allocations: 0 / 0.6878 GB, free: 11.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1847, allocations: 310.8 kB / 0.6881 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.1848, allocations: 24.02 kB / 0.6881 GB, free: 11.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.816e-05/0.1848, allocations: 23.97 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.1849, allocations: 27.92 kB / 0.6882 GB, free: 11.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1849, allocations: 4.062 kB / 0.6882 GB, free: 11.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001759/0.1851, allocations: 69.67 kB / 0.6882 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1851, allocations: 7.984 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1851, allocations: 0 / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1852, allocations: 0 / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.302e-05/0.1852, allocations: 12.03 kB / 0.6883 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1853, allocations: 3.938 kB / 0.6883 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.1853, allocations: 19.88 kB / 0.6883 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1853, allocations: 4 kB / 0.6883 GB, free: 11.25 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 (2): * Single equations (assignments): 2 * 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 7.588e-05/0.1854, allocations: 110.5 kB / 0.6884 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1854, allocations: 3.906 kB / 0.6884 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.1857, allocations: 92.7 kB / 0.6885 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1857, allocations: 0 / 0.6885 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1857, allocations: 0 / 0.6885 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1857, allocations: 3.938 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.1859, allocations: 161.6 kB / 0.6887 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1859, allocations: 4.031 kB / 0.6887 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.186, allocations: 11.98 kB / 0.6887 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.186, allocations: 0 / 0.6887 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.186, allocations: 4 kB / 0.6887 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.186, allocations: 0 / 0.6887 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.186, allocations: 0 / 0.6887 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.1863, allocations: 179.6 kB / 0.6888 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1863, allocations: 77.11 kB / 0.6889 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1864, allocations: 7.984 kB / 0.6889 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.1864, allocations: 7.984 kB / 0.6889 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1865, allocations: 0 / 0.6889 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1865, allocations: 8.031 kB / 0.6889 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.1865, allocations: 83.27 kB / 0.689 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1865, allocations: 0 / 0.689 GB, free: 10.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1868, allocations: 16 kB / 0.689 GB, free: 10.4 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 (2): * Single equations (assignments): 2 * 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.0002421/0.187, allocations: 111.2 kB / 0.6891 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1872, allocations: 51.95 kB / 0.6892 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1873, allocations: 0 / 0.6892 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1874, allocations: 31.98 kB / 0.6892 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1876, allocations: 5.984 kB / 0.6892 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.1879, allocations: 108.6 kB / 0.6893 GB, free: 10.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1882, allocations: 0.677 MB / 0.69 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.1882, allocations: 0 / 0.69 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.1883, allocations: 15.38 kB / 0.69 GB, free: 9.344 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1883, allocations: 4.062 kB / 0.69 GB, free: 9.34 MB / 494.1 MB Notification: Performance of Templates: time 0.002952/0.1913, allocations: 0.5808 MB / 0.6906 GB, free: 8.762 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)