Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001358/0.001358, 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.001555/0.001555, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002632/0.002632, allocations: 291 kB / 313.5 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.27/1.27, allocations: 180.6 MB / 0.5377 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002827/0.002827, allocations: 99.41 kB / 0.7403 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1889, allocations: 95.38 MB / 0.8334 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001758/0.1907, allocations: 0.589 MB / 0.834 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004614/0.1912, allocations: 171.8 kB / 0.8342 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.242e-05/0.1912, allocations: 0 / 0.8342 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.1912, allocations: 0 / 0.8342 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.1912, allocations: 0 / 0.8342 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.1916, allocations: 55.83 kB / 0.8342 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.255e-05/0.1916, allocations: 3.984 kB / 0.8342 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.1916, allocations: 0 / 0.8342 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.1917, allocations: 4 kB / 0.8342 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.17e-05/0.1917, allocations: 3.938 kB / 0.8342 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.583e-06/0.1917, allocations: 0 / 0.8342 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.1918, allocations: 59.88 kB / 0.8343 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.1919, allocations: 4 kB / 0.8343 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.1919, allocations: 0 / 0.8343 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.192, allocations: 44.16 kB / 0.8343 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.192, allocations: 0 / 0.8343 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.192, allocations: 0 / 0.8343 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.192, allocations: 0 / 0.8343 GB, free: 7.332 MB / 0.5762 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.0002922/0.1923, allocations: 238.4 kB / 0.8346 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1923, allocations: 13.34 kB / 0.8346 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.276e-05/0.1923, allocations: 192 / 0.8346 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.1924, allocations: 34.73 kB / 0.8346 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.924e-05/0.1924, allocations: 0.9375 kB / 0.8346 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.563e-05/0.1925, allocations: 114.5 kB / 0.8347 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1925, allocations: 384 / 0.8347 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-06/0.1925, allocations: 384 / 0.8347 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.1926, allocations: 30.02 kB / 0.8348 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1926, allocations: 3.938 kB / 0.8348 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.1926, allocations: 4 kB / 0.8348 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1926, allocations: 0 / 0.8348 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.1926, allocations: 0 / 0.8348 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.1928, allocations: 124.8 kB / 0.8349 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.45e-05/0.1928, allocations: 18.58 kB / 0.8349 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.1928, allocations: 8.859 kB / 0.8349 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005618/0.1934, allocations: 79.86 kB / 0.835 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1934, allocations: 34.5 kB / 0.835 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1934, allocations: 3.938 kB / 0.835 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.1936, allocations: 33.69 kB / 0.8351 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1936, allocations: 59.53 kB / 0.8351 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.129e-05/0.1937, allocations: 89.86 kB / 0.8352 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1937, allocations: 25.7 kB / 0.8352 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.1937, allocations: 80.14 kB / 0.8353 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1937, allocations: 0 / 0.8353 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1938, allocations: 17.72 kB / 0.8353 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1939, allocations: 310.8 kB / 0.8356 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.1939, allocations: 0 / 0.8356 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.1939, allocations: 0 / 0.8356 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.1939, allocations: 12.8 kB / 0.8356 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1939, allocations: 4.062 kB / 0.8356 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.489e-05/0.194, allocations: 33.69 kB / 0.8357 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.194, allocations: 11.94 kB / 0.8357 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.194, allocations: 0 / 0.8357 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.194, allocations: 0 / 0.8357 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.1941, allocations: 0 / 0.8357 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1941, allocations: 3.984 kB / 0.8357 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.027e-05/0.1941, allocations: 4 kB / 0.8357 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1941, allocations: 4 kB / 0.8357 GB, free: 5.766 MB / 0.5762 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 8.018e-05/0.1942, allocations: 106.5 kB / 0.8358 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.1942, allocations: 7.969 kB / 0.8358 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.525e-05/0.1943, allocations: 40.62 kB / 0.8358 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1943, allocations: 4 kB / 0.8358 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1943, allocations: 4 kB / 0.8358 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1943, allocations: 0 / 0.8358 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.897e-05/0.1944, allocations: 116.8 kB / 0.836 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1944, allocations: 0 / 0.836 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.1944, allocations: 7.984 kB / 0.836 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1944, allocations: 3.938 kB / 0.836 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.1944, allocations: 0 / 0.836 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1944, allocations: 4.031 kB / 0.836 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1944, allocations: 0 / 0.836 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.783e-05/0.1945, allocations: 61.02 kB / 0.836 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.1945, allocations: 4 kB / 0.836 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1945, allocations: 7.922 kB / 0.836 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.1945, allocations: 0 / 0.836 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.1945, allocations: 4 kB / 0.836 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.1945, allocations: 0 / 0.836 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.1945, allocations: 79.22 kB / 0.8361 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1945, allocations: 0 / 0.8361 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001934/0.1947, allocations: 15.97 kB / 0.8361 GB, free: 5.23 MB / 0.5762 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.0004599/0.1952, allocations: 0.6124 MB / 0.8367 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.552e-05/0.1952, allocations: 15.92 kB / 0.8367 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1953, allocations: 0 / 0.8367 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.1953, allocations: 4 kB / 0.8368 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.1954, allocations: 6.5 kB / 0.8368 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.1957, allocations: 108.4 kB / 0.8369 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.009e-05/0.1957, allocations: 55.34 kB / 0.8369 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.197e-06/0.1957, allocations: 4 kB / 0.8369 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.1958, allocations: 7.438 kB / 0.8369 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.1958, allocations: 0 / 0.8369 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.2166, allocations: 1.312 MB / 0.8382 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.21, allocations: 14.48 kB / 0.8382 GB, free: 3.16 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.61644792999141] Failed to read output from testmodel.py, exit status != 0: 11.369668013066985 11.393774401 11.197451328 Calling exit ...