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.001321/0.001321, allocations: 109 kB / 20.48 MB, free: 1.477 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.001425/0.001425, allocations: 213.8 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.48/1.48, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9831/0.9831, 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.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",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.001961/0.001961, allocations: 70.69 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1828, allocations: 89.17 MB / 0.7291 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.003792/0.1866, allocations: 1.448 MB / 0.7305 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008169/0.1874, allocations: 263.2 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.909e-05/0.1874, allocations: 0 / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.1874, allocations: 0 / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.1875, allocations: 7.875 kB / 0.7308 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.1879, allocations: 67.75 kB / 0.7309 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.188, allocations: 23.92 kB / 0.7309 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1881, allocations: 4 kB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.1882, allocations: 4 kB / 0.7309 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.1882, allocations: 15.92 kB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1882, allocations: 4 kB / 0.7309 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1884, allocations: 67.86 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.1885, allocations: 4 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.1885, allocations: 7.938 kB / 0.731 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1887, allocations: 60.06 kB / 0.731 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1887, allocations: 0 / 0.731 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1887, allocations: 4 kB / 0.731 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.1887, allocations: 0 / 0.731 GB, free: 15.26 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.0005542/0.1893, allocations: 270.2 kB / 0.7313 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1893, allocations: 8.031 kB / 0.7313 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.439e-05/0.1893, allocations: 4.188 kB / 0.7313 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.1894, allocations: 30.75 kB / 0.7313 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.1894, allocations: 0.9375 kB / 0.7313 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.1895, allocations: 114.5 kB / 0.7314 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.1895, allocations: 4.375 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.1895, allocations: 384 / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1898, allocations: 57.92 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1898, allocations: 0 / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1898, allocations: 0 / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1898, allocations: 0 / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.19, allocations: 39.94 kB / 0.7315 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.1904, allocations: 224 kB / 0.7318 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1906, allocations: 42.48 kB / 0.7318 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1907, allocations: 16.91 kB / 0.7318 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.1914, allocations: 79.91 kB / 0.7319 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1914, allocations: 34.56 kB / 0.7319 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.1914, allocations: 0 / 0.7319 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004771/0.1919, allocations: 77.64 kB / 0.732 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.192, allocations: 59.53 kB / 0.7321 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1921, allocations: 101.8 kB / 0.7322 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1921, allocations: 25.7 kB / 0.7322 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.1922, allocations: 80.14 kB / 0.7323 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.1922, allocations: 11.94 kB / 0.7323 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.1922, allocations: 13.72 kB / 0.7323 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1924, allocations: 310.8 kB / 0.7326 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.1925, allocations: 23.98 kB / 0.7326 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.1926, allocations: 19.86 kB / 0.7326 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.1929, allocations: 44.75 kB / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1929, allocations: 0 / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000273/0.1931, allocations: 69.72 kB / 0.7327 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1932, allocations: 8 kB / 0.7327 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1932, allocations: 0 / 0.7327 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1932, allocations: 3.938 kB / 0.7327 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1933, allocations: 4 kB / 0.7327 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1933, allocations: 0 / 0.7327 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.1934, allocations: 7.984 kB / 0.7327 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1934, allocations: 4 kB / 0.7328 GB, free: 13.3 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 9.882e-05/0.1935, allocations: 109.8 kB / 0.7329 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.1935, allocations: 7.984 kB / 0.7329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.1938, allocations: 76.95 kB / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1938, allocations: 0 / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1938, allocations: 0 / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1938, allocations: 0 / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.1941, allocations: 128.7 kB / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1941, allocations: 0 / 0.7331 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.1942, allocations: 15.92 kB / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1942, allocations: 4.031 kB / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1942, allocations: 0 / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1942, allocations: 0 / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1942, allocations: 0 / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.1945, allocations: 163.5 kB / 0.7332 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.1945, allocations: 4 kB / 0.7332 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.1945, allocations: 4.031 kB / 0.7332 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1947, allocations: 11.98 kB / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1947, allocations: 0 / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1947, allocations: 0 / 0.7333 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.1948, allocations: 87.27 kB / 0.7333 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1948, allocations: 0 / 0.7333 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004367/0.1952, allocations: 19.94 kB / 0.7334 GB, free: 12.61 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.0008706/0.1961, allocations: 0.7239 MB / 0.7341 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.1964, allocations: 36 kB / 0.7341 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1964, allocations: 3.938 kB / 0.7341 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1965, allocations: 15.98 kB / 0.7341 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.1969, allocations: 14.42 kB / 0.7341 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.1975, allocations: 147 kB / 0.7343 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1979, allocations: 0.6769 MB / 0.7349 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.921e-05/0.198, allocations: 3.984 kB / 0.7349 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.198, allocations: 7.438 kB / 0.7349 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.198, allocations: 0 / 0.7349 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.2247, allocations: 1.656 MB / 0.7366 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.33, allocations: 13.3 kB / 0.7366 GB, free: 9.379 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.264180217985995] Failed to read output from testmodel.py, exit status != 0: 11.511790758988354 11.536881563 11.343453398 Calling exit ...