Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.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.001362/0.001362, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001544/0.001544, allocations: 211.4 kB / 22.99 MB, free: 4.605 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 1.033/1.033, allocations: 149.9 MB / 463 MB, free: 10.38 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.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",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.002089/0.002089, allocations: 68.14 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1848, allocations: 89.18 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002749/0.1875, allocations: 1.434 MB / 0.7296 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.1881, allocations: 239.3 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.1882, allocations: 0 / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.1882, allocations: 7.922 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.1882, allocations: 4 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.1887, allocations: 63.75 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.1887, allocations: 23.92 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.1888, allocations: 4 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.031e-05/0.1889, allocations: 4 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.1889, allocations: 15.92 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1889, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1891, allocations: 67.86 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.1891, allocations: 4 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.1891, allocations: 7.938 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1893, allocations: 52.14 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1893, allocations: 0 / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1893, allocations: 4 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.1893, allocations: 11.86 kB / 0.7301 GB, free: 15.07 MB / 0.5606 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.0005243/0.1898, allocations: 270.2 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1899, allocations: 8.031 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.1899, allocations: 30.75 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.19, allocations: 12.88 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.1901, allocations: 110.5 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1901, allocations: 4.375 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1901, allocations: 384 / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.1903, allocations: 50.23 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1903, allocations: 3.938 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1904, allocations: 0 / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1904, allocations: 0 / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1905, allocations: 43.89 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.1909, allocations: 208 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1911, allocations: 42.53 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.1912, allocations: 20.91 kB / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.1918, allocations: 83.91 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.1918, allocations: 30.56 kB / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1918, allocations: 0 / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003896/0.1922, allocations: 81.58 kB / 0.731 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1923, allocations: 55.41 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1924, allocations: 93.86 kB / 0.7312 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1924, allocations: 25.7 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.1925, allocations: 92.27 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1925, allocations: 7.938 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.1926, allocations: 9.719 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1927, allocations: 318.8 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.1928, allocations: 11.98 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.1929, allocations: 15.98 kB / 0.7316 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.193, allocations: 48.81 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1931, allocations: 3.938 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000206/0.1933, allocations: 65.66 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.1933, allocations: 4 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1933, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1933, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.1934, allocations: 8 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1934, allocations: 3.984 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.1935, allocations: 8.031 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1935, allocations: 0 / 0.7318 GB, free: 13.13 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 (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 0.0001064/0.1936, allocations: 113.8 kB / 0.7319 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.1936, allocations: 11.89 kB / 0.7319 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.1939, allocations: 76.89 kB / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1939, allocations: 3.938 kB / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1939, allocations: 0 / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1939, allocations: 0 / 0.7319 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.194, allocations: 132.7 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.194, allocations: 4 kB / 0.7321 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.1941, allocations: 8 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1941, allocations: 0 / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.1941, allocations: 0 / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1941, allocations: 3.984 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1941, allocations: 0 / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1944, allocations: 163.4 kB / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.1944, allocations: 12.2 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1944, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.1945, allocations: 4 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.1945, allocations: 7.969 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1945, allocations: 0 / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.1946, allocations: 83.28 kB / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1946, allocations: 0 / 0.7323 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002462/0.1948, allocations: 19.94 kB / 0.7324 GB, free: 12.43 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 (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.0006954/0.1955, allocations: 0.7187 MB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1957, allocations: 43.89 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1957, allocations: 0 / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.1958, allocations: 20.08 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.1961, allocations: 4 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.1965, allocations: 139.1 kB / 0.7333 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.367e-05/0.1966, allocations: 59.34 kB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.1966, allocations: 4 kB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.1967, allocations: 11.44 kB / 0.7333 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1967, allocations: 0 / 0.7333 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.2253, allocations: 2.05 MB / 0.7353 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.42, allocations: 8.859 kB / 0.7353 GB, free: 9.422 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.304903740994632] Failed to read output from testmodel.py, exit status != 0: 11.529569295234978 11.547915332 11.355119805 Calling exit ...