Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007183/0.0007183, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004523/0.004523, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.339/1.339, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.001731, allocations: 263.1 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9055/0.9055, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004303, allocations: 17.41 kB / 0.5988 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.186, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.001615/0.1876, allocations: 1.149 MB / 0.6864 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005044/0.1882, allocations: 248.1 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.1882, allocations: 0 / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.1882, allocations: 0.5 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.1883, allocations: 4.5 kB / 0.6866 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1885, allocations: 44.44 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.1886, allocations: 23.88 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.1887, allocations: 9.172 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.1887, allocations: 4 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.752e-05/0.1888, allocations: 13.27 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.1888, allocations: 0 / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.189, allocations: 67.89 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.189, allocations: 4.734 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.189, allocations: 37.62 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1891, allocations: 49.34 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1892, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1892, allocations: 0 / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1892, allocations: 0.5625 kB / 0.6868 GB, free: 13.31 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.0004389/0.1896, allocations: 345.2 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1897, allocations: 11.97 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.1897, allocations: 39.36 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.1898, allocations: 5.5 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1899, allocations: 168.4 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1899, allocations: 2.375 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.1899, allocations: 384 / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1901, allocations: 58.88 kB / 0.6874 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1901, allocations: 3.938 kB / 0.6874 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.1901, allocations: 6.375 kB / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1901, allocations: 0 / 0.6875 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1903, allocations: 50.05 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.1906, allocations: 244.9 kB / 0.6877 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.1907, allocations: 44.09 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.1908, allocations: 35.36 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006/0.1915, allocations: 454.3 kB / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.1915, allocations: 34.5 kB / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1915, allocations: 0 / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000363/0.1919, allocations: 97.73 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.1919, allocations: 51.41 kB / 0.6884 GB, free: 11.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.192, allocations: 105.8 kB / 0.6885 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.192, allocations: 25.7 kB / 0.6885 GB, free: 11.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.192, allocations: 84.05 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1921, allocations: 3.938 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.1921, allocations: 13.72 kB / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.1922, allocations: 318.9 kB / 0.6889 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.535e-05/0.1923, allocations: 19.97 kB / 0.689 GB, free: 10.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.1924, allocations: 23.98 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1925, allocations: 52.83 kB / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1925, allocations: 3.938 kB / 0.689 GB, free: 10.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.1927, allocations: 81.56 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1927, allocations: 5.562 kB / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1927, allocations: 0 / 0.6891 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1928, allocations: 4 kB / 0.6891 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.1929, allocations: 11.98 kB / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1929, allocations: 0 / 0.6891 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.1929, allocations: 7.984 kB / 0.6891 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1929, allocations: 11.97 kB / 0.6892 GB, free: 10.62 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 6.746e-05/0.193, allocations: 114.4 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.193, allocations: 0 / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.1933, allocations: 88.72 kB / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.1933, allocations: 0 / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1933, allocations: 0 / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1933, allocations: 4 kB / 0.6894 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1934, allocations: 161.6 kB / 0.6895 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1935, allocations: 4 kB / 0.6895 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.1935, allocations: 8 kB / 0.6895 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1935, allocations: 0 / 0.6895 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1935, allocations: 0 / 0.6895 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1935, allocations: 3.984 kB / 0.6895 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1935, allocations: 4.031 kB / 0.6895 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.1938, allocations: 175.4 kB / 0.6897 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.1938, allocations: 85.05 kB / 0.6898 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1939, allocations: 4 kB / 0.6898 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.1939, allocations: 11.94 kB / 0.6898 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.194, allocations: 3.984 kB / 0.6898 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.194, allocations: 0 / 0.6898 GB, free: 9.867 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.175e-05/0.194, allocations: 79.47 kB / 0.6899 GB, free: 9.789 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.194, allocations: 0 / 0.6899 GB, free: 9.789 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1943, allocations: 16 kB / 0.6899 GB, free: 9.773 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.0005696/0.1948, allocations: 0.7282 MB / 0.6906 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.195, allocations: 47.91 kB / 0.6906 GB, free: 8.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.1951, allocations: 4.062 kB / 0.6906 GB, free: 8.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.1952, allocations: 27.97 kB / 0.6907 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1954, allocations: 0 / 0.6907 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.1958, allocations: 150.8 kB / 0.6908 GB, free: 8.754 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.196, allocations: 0.6771 MB / 0.6915 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.057e-05/0.196, allocations: 7.984 kB / 0.6915 GB, free: 8.043 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.1961, allocations: 11.44 kB / 0.6915 GB, free: 8.031 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1961, allocations: 0 / 0.6915 GB, free: 8.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01075/0.2068, allocations: 1.263 MB / 0.6927 GB, free: 6.895 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/0.2072, allocations: 201.4 kB / 0.6929 GB, free: 6.637 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.8, allocations: 0 / 0.6929 GB, free: 6.637 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)