Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001604/0.001604, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001619/0.001619, allocations: 217.8 kB / 22.25 MB, free: 5.125 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.953 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.002631/0.002631, allocations: 276.2 kB / 312.7 MB, free: 2.785 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.278/1.278, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] 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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",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.00283/0.00283, allocations: 101.8 kB / 0.7396 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.201, allocations: 95.39 MB / 0.8328 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.002113/0.2031, allocations: 0.5828 MB / 0.8333 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005417/0.2036, allocations: 211.7 kB / 0.8335 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.2036, allocations: 0 / 0.8335 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.2036, allocations: 0 / 0.8335 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.2036, allocations: 0 / 0.8335 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.204, allocations: 51.83 kB / 0.8336 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.2041, allocations: 4 kB / 0.8336 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.2041, allocations: 3.984 kB / 0.8336 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.754e-05/0.2042, allocations: 3.984 kB / 0.8336 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/0.2042, allocations: 4 kB / 0.8336 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-06/0.2042, allocations: 0 / 0.8336 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.2044, allocations: 67.81 kB / 0.8337 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.083e-06/0.2044, allocations: 3.938 kB / 0.8337 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.2044, allocations: 0 / 0.8337 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2045, allocations: 44.16 kB / 0.8337 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2045, allocations: 3.938 kB / 0.8337 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2045, allocations: 0 / 0.8337 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.2045, allocations: 0 / 0.8337 GB, free: 7.605 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.0003094/0.2048, allocations: 239.3 kB / 0.834 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2049, allocations: 17.34 kB / 0.834 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.2049, allocations: 30.75 kB / 0.834 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.9e-05/0.2049, allocations: 0.9375 kB / 0.834 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.205, allocations: 106.5 kB / 0.8341 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.205, allocations: 384 / 0.8341 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.205, allocations: 4.375 kB / 0.8341 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.2051, allocations: 30.25 kB / 0.8341 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2051, allocations: 3.938 kB / 0.8341 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.2051, allocations: 0 / 0.8341 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2052, allocations: 4 kB / 0.8341 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.2052, allocations: 7.938 kB / 0.8341 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.2053, allocations: 116.8 kB / 0.8343 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/0.2054, allocations: 14.58 kB / 0.8343 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.818e-05/0.2054, allocations: 8.953 kB / 0.8343 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/0.206, allocations: 83.91 kB / 0.8344 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.206, allocations: 30.56 kB / 0.8344 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.206, allocations: 0 / 0.8344 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.2061, allocations: 37.58 kB / 0.8344 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2062, allocations: 51.41 kB / 0.8345 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.364e-05/0.2062, allocations: 93.8 kB / 0.8346 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2063, allocations: 33.81 kB / 0.8346 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.2063, allocations: 80.14 kB / 0.8347 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.2063, allocations: 4 kB / 0.8347 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.2064, allocations: 13.72 kB / 0.8347 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.2065, allocations: 310.8 kB / 0.835 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.2065, allocations: 4 kB / 0.835 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-06/0.2065, allocations: 4 kB / 0.835 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.2065, allocations: 8.922 kB / 0.835 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2065, allocations: 4 kB / 0.835 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.501e-05/0.2066, allocations: 41.62 kB / 0.835 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2066, allocations: 4 kB / 0.8351 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2066, allocations: 3.938 kB / 0.8351 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2066, allocations: 0 / 0.8351 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/0.2067, allocations: 4 kB / 0.8351 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.2067, allocations: 3.938 kB / 0.8351 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.707e-06/0.2067, allocations: 0 / 0.8351 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.2067, allocations: 0 / 0.8351 GB, free: 6.039 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 7.513e-05/0.2068, allocations: 110.5 kB / 0.8352 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.2068, allocations: 4 kB / 0.8352 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.2068, allocations: 44.56 kB / 0.8352 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.2068, allocations: 0 / 0.8352 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.2068, allocations: 0 / 0.8352 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2069, allocations: 0 / 0.8352 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.2069, allocations: 116.8 kB / 0.8353 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2069, allocations: 0 / 0.8353 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.207, allocations: 4 kB / 0.8353 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.207, allocations: 8.016 kB / 0.8353 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.207, allocations: 3.938 kB / 0.8353 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.207, allocations: 0 / 0.8353 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.207, allocations: 0 / 0.8353 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.821e-05/0.207, allocations: 57.14 kB / 0.8354 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-06/0.207, allocations: 0 / 0.8354 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.207, allocations: 3.938 kB / 0.8354 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.2071, allocations: 8.016 kB / 0.8354 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.2071, allocations: 4 kB / 0.8354 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.2071, allocations: 3.938 kB / 0.8354 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.2071, allocations: 75.28 kB / 0.8355 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2071, allocations: 3.938 kB / 0.8355 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000196/0.2073, allocations: 15.94 kB / 0.8355 GB, free: 5.508 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.0004502/0.2078, allocations: 0.6162 MB / 0.8361 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.763e-05/0.2078, allocations: 4 kB / 0.8361 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2078, allocations: 0 / 0.8361 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-06/0.2078, allocations: 7.922 kB / 0.8361 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.208, allocations: 8.156 kB / 0.8361 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.2082, allocations: 100.4 kB / 0.8362 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.2085, allocations: 0.6729 MB / 0.8369 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.358e-05/0.2085, allocations: 3.984 kB / 0.8369 GB, free: 4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.2085, allocations: 11.44 kB / 0.8369 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2085, allocations: 0 / 0.8369 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.2349, allocations: 1.258 MB / 0.8381 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.54, allocations: 3.828 kB / 0.8381 GB, free: 2.863 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.97159979099888] Failed to read output from testmodel.py, exit status != 0: 10.639066117997572 10.655543662 10.447908406 Calling exit ...