Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 108.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8818/0.8818, allocations: 134 MB / 436.6 MB, free: 1.234 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 76.2 kB / 0.6051 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1818, allocations: 84.66 MB / 0.6878 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.003613/0.1854, allocations: 1.444 MB / 0.6892 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006976/0.1861, allocations: 248.5 kB / 0.6894 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.1861, allocations: 4 kB / 0.6895 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1861, allocations: 0 / 0.6895 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.1862, allocations: 3.938 kB / 0.6895 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1866, allocations: 59.81 kB / 0.6895 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.98e-05/0.1867, allocations: 23.92 kB / 0.6895 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.1868, allocations: 0 / 0.6895 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.1869, allocations: 11.98 kB / 0.6895 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.07e-05/0.1869, allocations: 11.94 kB / 0.6896 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.1869, allocations: 0 / 0.6896 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1871, allocations: 59.88 kB / 0.6896 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.1871, allocations: 7.984 kB / 0.6896 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.1871, allocations: 19.92 kB / 0.6896 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.1873, allocations: 52.03 kB / 0.6897 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1873, allocations: 0 / 0.6897 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1873, allocations: 0 / 0.6897 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.1873, allocations: 0 / 0.6897 GB, free: 9.129 MB / 0.5137 GB 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.0005554/0.1879, allocations: 347.3 kB / 0.69 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1879, allocations: 12.03 kB / 0.69 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.188, allocations: 30.75 kB / 0.6901 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.188, allocations: 4.938 kB / 0.6901 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.1882, allocations: 172.4 kB / 0.6902 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1882, allocations: 384 / 0.6902 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.1882, allocations: 4.375 kB / 0.6902 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1884, allocations: 42.25 kB / 0.6903 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1884, allocations: 7.922 kB / 0.6903 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1884, allocations: 4 kB / 0.6903 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1884, allocations: 0 / 0.6903 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.1886, allocations: 43.89 kB / 0.6903 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.189, allocations: 248.9 kB / 0.6906 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.1891, allocations: 38.5 kB / 0.6906 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.1892, allocations: 16.91 kB / 0.6906 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008254/0.19, allocations: 461.5 kB / 0.6911 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1901, allocations: 34.5 kB / 0.6911 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1901, allocations: 0 / 0.6911 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003684/0.1905, allocations: 85.73 kB / 0.6912 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1905, allocations: 55.34 kB / 0.6912 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.1906, allocations: 93.86 kB / 0.6913 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.1906, allocations: 29.7 kB / 0.6913 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.1907, allocations: 88.12 kB / 0.6914 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1907, allocations: 3.953 kB / 0.6914 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.1907, allocations: 9.719 kB / 0.6914 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1909, allocations: 318.8 kB / 0.6917 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.191, allocations: 16.02 kB / 0.6918 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.191, allocations: 19.97 kB / 0.6918 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.1912, allocations: 40.77 kB / 0.6918 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1912, allocations: 3.938 kB / 0.6918 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.1914, allocations: 73.66 kB / 0.6919 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1914, allocations: 4 kB / 0.6919 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1914, allocations: 0 / 0.6919 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1914, allocations: 0 / 0.6919 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.1915, allocations: 11.98 kB / 0.6919 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1915, allocations: 0 / 0.6919 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.1916, allocations: 4 kB / 0.6919 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1916, allocations: 3.984 kB / 0.6919 GB, free: 6.52 MB / 0.5137 GB 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 9.456e-05/0.1917, allocations: 117.8 kB / 0.692 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1917, allocations: 11.94 kB / 0.692 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.1919, allocations: 68.72 kB / 0.6921 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1919, allocations: 0 / 0.6921 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1919, allocations: 4 kB / 0.6921 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.192, allocations: 4 kB / 0.6921 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.1921, allocations: 157.6 kB / 0.6923 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1921, allocations: 4.031 kB / 0.6923 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.1922, allocations: 7.984 kB / 0.6923 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1922, allocations: 0 / 0.6923 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1922, allocations: 4 kB / 0.6923 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.1922, allocations: 0 / 0.6923 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1922, allocations: 0 / 0.6923 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.1925, allocations: 171.4 kB / 0.6924 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.1925, allocations: 77.11 kB / 0.6925 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1925, allocations: 0 / 0.6925 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.1926, allocations: 7.984 kB / 0.6925 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.1927, allocations: 4 kB / 0.6925 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1927, allocations: 4 kB / 0.6925 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.847e-05/0.1927, allocations: 79.27 kB / 0.6926 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1927, allocations: 0 / 0.6926 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000242/0.193, allocations: 19.94 kB / 0.6926 GB, free: 5.688 MB / 0.5137 GB 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.0008307/0.1938, allocations: 0.724 MB / 0.6933 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.194, allocations: 35.91 kB / 0.6934 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.194, allocations: 0 / 0.6934 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.1941, allocations: 19.98 kB / 0.6934 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1944, allocations: 3.984 kB / 0.6934 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.1949, allocations: 151.1 kB / 0.6935 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1953, allocations: 0.6768 MB / 0.6942 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.1953, allocations: 0 / 0.6942 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.1953, allocations: 11.44 kB / 0.6942 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1953, allocations: 0 / 0.6942 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.2199, allocations: 1.498 MB / 0.6957 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.31, allocations: 9.156 kB / 0.6957 GB, free: 2.551 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.911121749319136] Failed to read output from testmodel.py, exit status != 0: 8.377247859723866 8.391919441 8.201439294 Calling exit ...