Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001724/0.001724, allocations: 109 kB / 20.48 MB, free: 1.473 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.002106/0.002106, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.479/1.479, allocations: 230.6 MB / 257.6 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9551/0.9551, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.00206/0.00206, allocations: 69.02 kB / 0.6421 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1857, allocations: 89.17 MB / 0.7291 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001873/0.1875, allocations: 0.5877 MB / 0.7297 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005275/0.1881, allocations: 191.3 kB / 0.7299 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.411e-05/0.1881, allocations: 4 kB / 0.7299 GB, free: 472 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.1881, allocations: 0 / 0.7299 GB, free: 472 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.1881, allocations: 0 / 0.7299 GB, free: 472 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1885, allocations: 51.84 kB / 0.73 GB, free: 420 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.624e-05/0.1885, allocations: 0 / 0.73 GB, free: 420 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.1885, allocations: 0 / 0.73 GB, free: 420 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.194e-05/0.1886, allocations: 0 / 0.73 GB, free: 420 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/0.1886, allocations: 7.984 kB / 0.73 GB, free: 412 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-06/0.1886, allocations: 0 / 0.73 GB, free: 412 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1888, allocations: 59.88 kB / 0.73 GB, free: 352 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.1888, allocations: 3.938 kB / 0.73 GB, free: 348 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.438e-05/0.1888, allocations: 4 kB / 0.73 GB, free: 344 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.1889, allocations: 40.16 kB / 0.7301 GB, free: 304 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1889, allocations: 0 / 0.7301 GB, free: 304 kB / 0.545 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1889, allocations: 0 / 0.7301 GB, free: 304 kB / 0.545 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.1889, allocations: 0 / 0.7301 GB, free: 304 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000293/0.1892, allocations: 242.4 kB / 0.7303 GB, free: 28 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1892, allocations: 12.03 kB / 0.7303 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.51e-05/0.1893, allocations: 192 / 0.7303 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.1893, allocations: 34.69 kB / 0.7303 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.1893, allocations: 4.938 kB / 0.7303 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8e-05/0.1894, allocations: 102.5 kB / 0.7304 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.1894, allocations: 4.312 kB / 0.7304 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-06/0.1894, allocations: 4.375 kB / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.621e-05/0.1895, allocations: 30.02 kB / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1895, allocations: 0 / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1895, allocations: 0 / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1895, allocations: 0 / 0.7305 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.1896, allocations: 7.984 kB / 0.7305 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1897, allocations: 120.8 kB / 0.7306 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.1897, allocations: 22.55 kB / 0.7306 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.1898, allocations: 4.859 kB / 0.7306 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/0.1903, allocations: 67.98 kB / 0.7307 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1903, allocations: 42.48 kB / 0.7307 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 3.006e-06/0.1903, allocations: 3.984 kB / 0.7307 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.1905, allocations: 37.64 kB / 0.7308 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1905, allocations: 55.41 kB / 0.7308 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.1906, allocations: 93.8 kB / 0.7309 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1906, allocations: 25.7 kB / 0.7309 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.1906, allocations: 80.14 kB / 0.731 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1906, allocations: 8.078 kB / 0.731 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1907, allocations: 9.719 kB / 0.731 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1908, allocations: 314.8 kB / 0.7313 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.1908, allocations: 3.984 kB / 0.7313 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-06/0.1908, allocations: 0 / 0.7313 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.1909, allocations: 12.86 kB / 0.7314 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1909, allocations: 0 / 0.7314 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.752e-05/0.1909, allocations: 33.73 kB / 0.7314 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1909, allocations: 15.94 kB / 0.7314 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1909, allocations: 0 / 0.7314 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1909, allocations: 0 / 0.7314 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.191, allocations: 0 / 0.7314 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.191, allocations: 0 / 0.7314 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-06/0.191, allocations: 0 / 0.7314 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.191, allocations: 4 kB / 0.7314 GB, free: 14.73 MB / 0.5606 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 (1): * Single equations (assignments): 1 * 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.755e-05/0.1911, allocations: 109.8 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.1911, allocations: 3.938 kB / 0.7315 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.74e-05/0.1912, allocations: 40.7 kB / 0.7315 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1912, allocations: 0 / 0.7315 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1912, allocations: 0 / 0.7315 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1912, allocations: 0 / 0.7315 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.286e-05/0.1913, allocations: 124.8 kB / 0.7317 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1913, allocations: 0 / 0.7317 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.535e-05/0.1913, allocations: 3.938 kB / 0.7317 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.1913, allocations: 7.875 kB / 0.7317 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1913, allocations: 4 kB / 0.7317 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1913, allocations: 0 / 0.7317 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1913, allocations: 4.031 kB / 0.7317 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.261e-05/0.1914, allocations: 57.12 kB / 0.7317 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.1914, allocations: 4 kB / 0.7317 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.1914, allocations: 7.938 kB / 0.7318 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-06/0.1914, allocations: 0 / 0.7318 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.1914, allocations: 0 / 0.7318 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.1914, allocations: 3.938 kB / 0.7318 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.126e-05/0.1914, allocations: 79.31 kB / 0.7318 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1914, allocations: 0 / 0.7318 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001994/0.1916, allocations: 15.94 kB / 0.7318 GB, free: 14.2 MB / 0.5606 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 (1): * Single equations (assignments): 1 * 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.0004762/0.1921, allocations: 0.6201 MB / 0.7325 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.408e-05/0.1922, allocations: 8 kB / 0.7325 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1922, allocations: 0 / 0.7325 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-06/0.1922, allocations: 0 / 0.7325 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.1923, allocations: 5.719 kB / 0.7325 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.1926, allocations: 110.5 kB / 0.7326 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1929, allocations: 0.6769 MB / 0.7332 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.367e-06/0.1929, allocations: 0 / 0.7332 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.1929, allocations: 7.438 kB / 0.7332 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.1929, allocations: 0 / 0.7332 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.2143, allocations: 1.276 MB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.35, allocations: 7.188 kB / 0.7345 GB, free: 11.55 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.185027422965504] Failed to read output from testmodel.py, exit status != 0: 11.51609205303248 11.545474705 11.351042707 Calling exit ...