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.001289/0.001289, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001377/0.001377, allocations: 217 kB / 23.04 MB, free: 5.074 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.003842/0.003842, allocations: 291.1 kB / 313.5 MB, free: 2.789 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.375/1.375, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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.002848/0.002848, allocations: 107.3 kB / 0.7404 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1964, allocations: 95.39 MB / 0.8335 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001741/0.1981, allocations: 0.5766 MB / 0.8341 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005262/0.1986, allocations: 191.8 kB / 0.8343 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.1986, allocations: 0 / 0.8343 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.1987, allocations: 0 / 0.8343 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.1987, allocations: 3.938 kB / 0.8343 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.199, allocations: 47.89 kB / 0.8343 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.1991, allocations: 4 kB / 0.8343 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.1991, allocations: 0 / 0.8343 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.1991, allocations: 11.92 kB / 0.8344 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.333e-05/0.1992, allocations: 4 kB / 0.8344 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.1992, allocations: 3.938 kB / 0.8344 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1994, allocations: 55.94 kB / 0.8344 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.1994, allocations: 0 / 0.8344 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1994, allocations: 3.938 kB / 0.8344 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1995, allocations: 40.11 kB / 0.8345 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1995, allocations: 0 / 0.8345 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1995, allocations: 0 / 0.8345 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.1995, allocations: 0 / 0.8345 GB, free: 7.805 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.0003206/0.1998, allocations: 247.4 kB / 0.8347 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1999, allocations: 9.344 kB / 0.8347 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.909e-05/0.1999, allocations: 4.188 kB / 0.8347 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.075e-05/0.1999, allocations: 34.75 kB / 0.8347 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.2, allocations: 0.9375 kB / 0.8347 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.011e-05/0.2001, allocations: 102.5 kB / 0.8348 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.2001, allocations: 384 / 0.8348 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.2001, allocations: 4.375 kB / 0.8348 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2002, allocations: 38.02 kB / 0.8349 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2002, allocations: 3.984 kB / 0.8349 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.2002, allocations: 3.984 kB / 0.8349 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2002, allocations: 0 / 0.8349 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.2002, allocations: 3.938 kB / 0.8349 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.2004, allocations: 124.8 kB / 0.835 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.2004, allocations: 14.58 kB / 0.835 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.2004, allocations: 8.953 kB / 0.835 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/0.201, allocations: 71.92 kB / 0.8351 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.2011, allocations: 38.48 kB / 0.8351 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2011, allocations: 0 / 0.8351 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.2012, allocations: 33.64 kB / 0.8352 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.2013, allocations: 55.53 kB / 0.8352 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.555e-05/0.2013, allocations: 89.86 kB / 0.8353 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.2013, allocations: 25.7 kB / 0.8353 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.2014, allocations: 88.14 kB / 0.8354 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2014, allocations: 0 / 0.8354 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.2014, allocations: 9.719 kB / 0.8354 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2016, allocations: 318.8 kB / 0.8357 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.2016, allocations: 4 kB / 0.8357 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.2016, allocations: 4 kB / 0.8357 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.2016, allocations: 8.859 kB / 0.8357 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2016, allocations: 3.938 kB / 0.8357 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.321e-05/0.2017, allocations: 33.7 kB / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2017, allocations: 7.938 kB / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2017, allocations: 0 / 0.8358 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2017, allocations: 3.938 kB / 0.8358 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.343e-05/0.2017, allocations: 4 kB / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2018, allocations: 0 / 0.8358 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.124e-05/0.2018, allocations: 8.078 kB / 0.8358 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.2018, allocations: 0 / 0.8358 GB, free: 6.23 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 9.495e-05/0.2019, allocations: 110.5 kB / 0.8359 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.2019, allocations: 3.938 kB / 0.8359 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.147e-05/0.202, allocations: 36.64 kB / 0.8359 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.202, allocations: 0 / 0.8359 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.202, allocations: 0 / 0.8359 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.202, allocations: 3.984 kB / 0.8359 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.2021, allocations: 116.8 kB / 0.8361 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2021, allocations: 8 kB / 0.8361 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.2021, allocations: 0 / 0.8361 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2021, allocations: 3.938 kB / 0.8361 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.2021, allocations: 0 / 0.8361 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2021, allocations: 0 / 0.8361 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2021, allocations: 0 / 0.8361 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.949e-05/0.2022, allocations: 61.12 kB / 0.8361 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-06/0.2022, allocations: 4.031 kB / 0.8361 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2022, allocations: 7.938 kB / 0.8361 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.2022, allocations: 3.938 kB / 0.8361 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.2022, allocations: 4 kB / 0.8361 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.2022, allocations: 0 / 0.8361 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.2022, allocations: 75.28 kB / 0.8362 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2022, allocations: 0 / 0.8362 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001975/0.2024, allocations: 19.92 kB / 0.8362 GB, free: 5.703 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.0004734/0.2029, allocations: 0.6162 MB / 0.8368 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.773e-05/0.203, allocations: 7.938 kB / 0.8368 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.203, allocations: 96 / 0.8368 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.203, allocations: 4 kB / 0.8369 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.2031, allocations: 6.188 kB / 0.8369 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.2034, allocations: 108.4 kB / 0.837 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.2037, allocations: 0.6729 MB / 0.8376 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.269e-05/0.2037, allocations: 3.984 kB / 0.8376 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.2037, allocations: 7.438 kB / 0.8376 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2037, allocations: 0 / 0.8376 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.224, allocations: 1.285 MB / 0.8389 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.07, allocations: 7.156 kB / 0.8389 GB, free: 3.039 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.510404052969534] Failed to read output from testmodel.py, exit status != 0: 11.219620499003213 11.236486701 11.033795508 Calling exit ...