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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 214.6 kB / 23.03 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.8369/0.8369, allocations: 134 MB / 447.2 MB, free: 9.957 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.02 kB / 0.6192 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 85.92 MB / 0.7032 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002786/0.1859, allocations: 1.44 MB / 0.7046 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.1864, allocations: 224.2 kB / 0.7048 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.1864, allocations: 3.938 kB / 0.7048 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.1865, allocations: 4 kB / 0.7048 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.386e-05/0.1865, allocations: 3.938 kB / 0.7048 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1869, allocations: 55.83 kB / 0.7048 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.926e-05/0.187, allocations: 23.92 kB / 0.7049 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.1871, allocations: 4 kB / 0.7049 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.1871, allocations: 15.97 kB / 0.7049 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.1872, allocations: 11.94 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.1872, allocations: 3.938 kB / 0.7049 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1873, allocations: 63.88 kB / 0.705 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.1873, allocations: 4 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.1874, allocations: 7.938 kB / 0.705 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1875, allocations: 52.14 kB / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1875, allocations: 0 / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1875, allocations: 3.938 kB / 0.705 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.1875, allocations: 3.984 kB / 0.705 GB, free: 15.15 MB / 0.5294 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.0004723/0.188, allocations: 270.2 kB / 0.7053 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.188, allocations: 12.03 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.742e-05/0.1881, allocations: 4.188 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.1881, allocations: 30.75 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.1881, allocations: 8.875 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1882, allocations: 114.5 kB / 0.7054 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1882, allocations: 4.375 kB / 0.7054 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1882, allocations: 4.375 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1884, allocations: 53.98 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1884, allocations: 0 / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1884, allocations: 0 / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.1885, allocations: 0 / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1886, allocations: 39.89 kB / 0.7055 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.189, allocations: 216 kB / 0.7057 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1891, allocations: 38.59 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.1892, allocations: 16.91 kB / 0.7058 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005179/0.1897, allocations: 79.92 kB / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1897, allocations: 30.56 kB / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1897, allocations: 0 / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003372/0.1901, allocations: 85.58 kB / 0.706 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1901, allocations: 51.41 kB / 0.706 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.1902, allocations: 101.8 kB / 0.7061 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1902, allocations: 29.83 kB / 0.7062 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.1902, allocations: 84.14 kB / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1903, allocations: 3.953 kB / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.1903, allocations: 17.72 kB / 0.7063 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1904, allocations: 314.8 kB / 0.7066 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.1905, allocations: 11.98 kB / 0.7066 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.1906, allocations: 19.98 kB / 0.7066 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.1907, allocations: 48.75 kB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1907, allocations: 0 / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.1909, allocations: 65.62 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1909, allocations: 4 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1909, allocations: 0 / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.191, allocations: 7.938 kB / 0.7067 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.191, allocations: 7.984 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.191, allocations: 8.016 kB / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.1911, allocations: 7.984 kB / 0.7067 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.1911, allocations: 0 / 0.7067 GB, free: 13.2 MB / 0.5294 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 7.892e-05/0.1912, allocations: 117.8 kB / 0.7068 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1912, allocations: 3.938 kB / 0.7069 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.1914, allocations: 76.91 kB / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1914, allocations: 0 / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1914, allocations: 0 / 0.7069 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1914, allocations: 8.016 kB / 0.7069 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.1916, allocations: 124.7 kB / 0.7071 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1916, allocations: 0 / 0.7071 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.647e-05/0.1916, allocations: 11.98 kB / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1916, allocations: 0 / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1916, allocations: 4 kB / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1917, allocations: 4 kB / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1917, allocations: 0 / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1919, allocations: 167.6 kB / 0.7072 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.1919, allocations: 11.89 kB / 0.7072 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1919, allocations: 3.984 kB / 0.7072 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.192, allocations: 11.98 kB / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.192, allocations: 0 / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.192, allocations: 0 / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.1921, allocations: 83.27 kB / 0.7073 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1921, allocations: 0 / 0.7073 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002331/0.1923, allocations: 16 kB / 0.7074 GB, free: 12.49 MB / 0.5294 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.0006299/0.1929, allocations: 0.7085 MB / 0.708 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1931, allocations: 39.91 kB / 0.7081 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1931, allocations: 0 / 0.7081 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.1932, allocations: 20.08 kB / 0.7081 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1934, allocations: 7.984 kB / 0.7081 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.1939, allocations: 143.2 kB / 0.7082 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.1939, allocations: 67.2 kB / 0.7083 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.875e-05/0.1939, allocations: 0 / 0.7083 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.194, allocations: 7.438 kB / 0.7083 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.194, allocations: 0 / 0.7083 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.2161, allocations: 1.692 MB / 0.71 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.36, allocations: 14.5 kB / 0.71 GB, free: 9.848 MB / 0.5294 GB " [Timeout remaining time 648] (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: 14.951392872957513] Failed to read output from testmodel.py, exit status != 0: 11.52630880405195 11.557141991 11.364181744 Calling exit ...