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.001066/0.001066, allocations: 108 kB / 15.61 MB, free: 152 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.001018/0.001018, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 286.5 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9169/0.9169, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 99.22 kB / 0.5952 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1746, allocations: 86.98 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002717/0.1773, allocations: 1.426 MB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005281/0.1779, allocations: 257.5 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.1779, allocations: 4 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.178, allocations: 0 / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.178, allocations: 3.938 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.1784, allocations: 59.81 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.1784, allocations: 23.86 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.616e-05/0.1785, allocations: 12 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.371e-05/0.1786, allocations: 4 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.1786, allocations: 11.92 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1786, allocations: 4 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1788, allocations: 71.86 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.1788, allocations: 0 / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.1788, allocations: 11.94 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.179, allocations: 51.91 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.179, allocations: 0 / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.179, allocations: 0 / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.179, allocations: 3.938 kB / 0.6821 GB, free: 14.75 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.0004062/0.1794, allocations: 343.8 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1794, allocations: 8.031 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1795, allocations: 12.84 kB / 0.6824 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1796, allocations: 160.4 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1796, allocations: 4.359 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.1796, allocations: 4.375 kB / 0.6826 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1798, allocations: 42.25 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1798, allocations: 192 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1798, allocations: 7.938 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1798, allocations: 3.938 kB / 0.6826 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.18, allocations: 35.95 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.1803, allocations: 244.9 kB / 0.6829 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1804, allocations: 42.53 kB / 0.6829 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.1805, allocations: 24.91 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006479/0.1812, allocations: 457.5 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1812, allocations: 34.5 kB / 0.6834 GB, free: 13.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1812, allocations: 4 kB / 0.6834 GB, free: 13.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000344/0.1816, allocations: 85.55 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.1816, allocations: 51.41 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.1817, allocations: 105.8 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1817, allocations: 25.7 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.1818, allocations: 80.14 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.1818, allocations: 7.906 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1818, allocations: 13.84 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1819, allocations: 314.8 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-05/0.182, allocations: 19.97 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.1821, allocations: 19.92 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1822, allocations: 36.83 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1822, allocations: 8.062 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.1825, allocations: 69.59 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1825, allocations: 4 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1825, allocations: 4 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1825, allocations: 0 / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1826, allocations: 7.984 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.1826, allocations: 3.938 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.1827, allocations: 11.92 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1827, allocations: 8.031 kB / 0.6843 GB, free: 12.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.85e-05/0.1828, allocations: 115.1 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.1829, allocations: 4.125 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.1831, allocations: 72.78 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1831, allocations: 3.984 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1831, allocations: 0 / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1831, allocations: 4.031 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1833, allocations: 161.6 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1833, allocations: 0 / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.1834, allocations: 8 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1834, allocations: 0 / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1834, allocations: 0 / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1834, allocations: 0 / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1834, allocations: 3.984 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1836, allocations: 167.4 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.1837, allocations: 85 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1837, allocations: 0 / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1838, allocations: 7.938 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1838, allocations: 7.984 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.1838, allocations: 0 / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.476e-05/0.1839, allocations: 83.28 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1839, allocations: 0 / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1841, allocations: 20.03 kB / 0.685 GB, free: 11.35 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 (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.0001824/0.1843, allocations: 115.2 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1845, allocations: 35.97 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1845, allocations: 8 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.1846, allocations: 23.97 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1848, allocations: 3.938 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.1851, allocations: 105.6 kB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1853, allocations: 0.6768 MB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.201e-05/0.1853, allocations: 4.062 kB / 0.6859 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.1854, allocations: 7.438 kB / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of SimCode: time 1.833e-06/0.1854, allocations: 0 / 0.6859 GB, free: 10.31 MB / 494.1 MB Notification: Performance of Templates: time 0.002678/0.1881, allocations: 0.6627 MB / 0.6866 GB, free: 9.648 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)