Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.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.001267/0.001267, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001484/0.001484, allocations: 217.5 kB / 23.03 MB, free: 4.945 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002545/0.002545, allocations: 288.5 kB / 313.5 MB, free: 2.625 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.263/1.263, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",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.003097/0.003097, allocations: 103.5 kB / 0.7403 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1954, allocations: 95.39 MB / 0.8334 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002987/0.1984, allocations: 1.456 MB / 0.8348 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007335/0.1991, allocations: 313.5 kB / 0.8351 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.1992, allocations: 4 kB / 0.8351 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.1992, allocations: 3.984 kB / 0.8351 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.1992, allocations: 7.938 kB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.1997, allocations: 99.72 kB / 0.8352 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.032e-05/0.1998, allocations: 27.86 kB / 0.8353 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.1999, allocations: 8 kB / 0.8353 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.1999, allocations: 11.98 kB / 0.8353 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.2, allocations: 7.922 kB / 0.8353 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.2, allocations: 4 kB / 0.8353 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.2002, allocations: 119.8 kB / 0.8354 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.2002, allocations: 7.984 kB / 0.8354 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.2003, allocations: 4 kB / 0.8354 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.2005, allocations: 92.02 kB / 0.8355 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2005, allocations: 4 kB / 0.8355 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2005, allocations: 0 / 0.8355 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2005, allocations: 0 / 0.8355 GB, free: 6.184 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005443/0.201, allocations: 278.2 kB / 0.8358 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.2011, allocations: 9.938 kB / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.2011, allocations: 192 / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.2012, allocations: 30.75 kB / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.2012, allocations: 12.83 kB / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2013, allocations: 114.4 kB / 0.8359 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2013, allocations: 12.38 kB / 0.836 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.2013, allocations: 384 / 0.836 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.2015, allocations: 53.98 kB / 0.836 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2015, allocations: 0 / 0.836 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.2015, allocations: 0 / 0.836 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2015, allocations: 0 / 0.836 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2017, allocations: 31.97 kB / 0.836 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.2021, allocations: 219.9 kB / 0.8362 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2023, allocations: 38.56 kB / 0.8363 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.09e-05/0.2024, allocations: 20.89 kB / 0.8363 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/0.203, allocations: 79.91 kB / 0.8364 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.203, allocations: 34.56 kB / 0.8364 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.203, allocations: 0 / 0.8364 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003852/0.2034, allocations: 85.58 kB / 0.8365 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2035, allocations: 51.41 kB / 0.8365 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.2036, allocations: 105.8 kB / 0.8366 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.2036, allocations: 25.7 kB / 0.8367 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.2036, allocations: 88.09 kB / 0.8367 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.2037, allocations: 4.078 kB / 0.8368 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.2037, allocations: 21.72 kB / 0.8368 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2039, allocations: 310.8 kB / 0.8371 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.2039, allocations: 19.97 kB / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.204, allocations: 15.98 kB / 0.8371 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2042, allocations: 36.77 kB / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2042, allocations: 0 / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002292/0.2044, allocations: 77.66 kB / 0.8372 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2044, allocations: 4 kB / 0.8372 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2044, allocations: 0 / 0.8372 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2044, allocations: 4 kB / 0.8372 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.673e-05/0.2045, allocations: 7.984 kB / 0.8372 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2045, allocations: 0 / 0.8372 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.2046, allocations: 11.98 kB / 0.8372 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2046, allocations: 0 / 0.8372 GB, free: 4.219 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 (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.874e-05/0.2047, allocations: 118.5 kB / 0.8374 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.2047, allocations: 3.938 kB / 0.8374 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.205, allocations: 76.91 kB / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.205, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.205, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.205, allocations: 0 / 0.8374 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.2051, allocations: 128.7 kB / 0.8376 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2051, allocations: 0 / 0.8376 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.2052, allocations: 16.02 kB / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.2052, allocations: 0 / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2052, allocations: 0 / 0.8376 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2052, allocations: 3.984 kB / 0.8376 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2052, allocations: 0 / 0.8376 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.2055, allocations: 163.4 kB / 0.8377 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.2055, allocations: 4 kB / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.2055, allocations: 4 kB / 0.8377 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.2056, allocations: 12.02 kB / 0.8377 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.2056, allocations: 0 / 0.8377 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2056, allocations: 3.938 kB / 0.8378 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.2057, allocations: 79.28 kB / 0.8378 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2057, allocations: 0 / 0.8378 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002802/0.2059, allocations: 31.92 kB / 0.8379 GB, free: 3.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 (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.0007499/0.2067, allocations: 0.7396 MB / 0.8386 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.2069, allocations: 31.97 kB / 0.8386 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2069, allocations: 4 kB / 0.8386 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.207, allocations: 23.97 kB / 0.8386 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.2072, allocations: 8 kB / 0.8386 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.2077, allocations: 143.2 kB / 0.8388 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.896e-05/0.2077, allocations: 59.34 kB / 0.8388 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.2078, allocations: 4 kB / 0.8388 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.2078, allocations: 7.438 kB / 0.8388 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.2078, allocations: 3.938 kB / 0.8389 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.2352, allocations: 1.964 MB / 0.8408 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.22, allocations: 1.953 kB / 0.8408 GB, free: 0.5898 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.590873613022268] Failed to read output from testmodel.py, exit status != 0: 11.375752407941036 11.392331496 11.188469527 Calling exit ...