Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009273/0.0009273, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.001192/0.001192, allocations: 212.6 kB / 23.02 MB, free: 2.965 MB / 13.93 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 0.9874/0.9874, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.062/2.062, allocations: 0.5046 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 71.89 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.7877, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001264/0.7889, allocations: 0.5819 MB / 1.353 GB, free: 1.078 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.7893, allocations: 174.5 kB / 1.353 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.7893, allocations: 0 / 1.353 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.7893, allocations: 0 / 1.353 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-06/0.7893, allocations: 4 kB / 1.353 GB, free: 0.9062 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.7897, allocations: 47.83 kB / 1.353 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.7897, allocations: 0 / 1.353 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.7898, allocations: 4 kB / 1.353 GB, free: 0.8555 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.7898, allocations: 8 kB / 1.353 GB, free: 0.8477 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 2.123e-05/0.7898, allocations: 0 / 1.353 GB, free: 0.8477 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.7898, allocations: 0 / 1.353 GB, free: 0.8477 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.79, allocations: 59.86 kB / 1.353 GB, free: 0.7891 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.79, allocations: 0 / 1.353 GB, free: 0.7891 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 1.469e-05/0.79, allocations: 0 / 1.353 GB, free: 0.7891 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.7901, allocations: 46.12 kB / 1.353 GB, free: 0.7461 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7901, allocations: 7.938 kB / 1.353 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7901, allocations: 0 / 1.353 GB, free: 0.7383 MB / 1.026 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7901, allocations: 0 / 1.353 GB, free: 0.7383 MB / 1.026 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.0002333/0.7904, allocations: 242.4 kB / 1.354 GB, free: 480 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7904, allocations: 12.92 kB / 1.354 GB, free: 468 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.7904, allocations: 34.73 kB / 1.354 GB, free: 424 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.7904, allocations: 0.9375 kB / 1.354 GB, free: 424 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.283e-05/0.7905, allocations: 102.5 kB / 1.354 GB, free: 296 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.7905, allocations: 8.312 kB / 1.354 GB, free: 288 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-06/0.7905, allocations: 384 / 1.354 GB, free: 288 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.619e-05/0.7906, allocations: 30.27 kB / 1.354 GB, free: 252 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7906, allocations: 3.938 kB / 1.354 GB, free: 248 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.7906, allocations: 0 / 1.354 GB, free: 248 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.7906, allocations: 0 / 1.354 GB, free: 248 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.7906, allocations: 7.938 kB / 1.354 GB, free: 240 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.734e-05/0.7907, allocations: 120.8 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 3.389e-05/0.7908, allocations: 18.61 kB / 1.354 GB, free: 48 kB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.341e-05/0.7908, allocations: 8.859 kB / 1.354 GB, free: 36 kB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004081/0.7912, allocations: 67.98 kB / 1.354 GB, free: 15.97 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.7912, allocations: 30.56 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 2.805e-06/0.7912, allocations: 4 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.7913, allocations: 45.56 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.7913, allocations: 51.41 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.626e-05/0.7914, allocations: 89.86 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.7914, allocations: 29.7 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 1.766e-05/0.7914, allocations: 80.14 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.7914, allocations: 0 / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.7914, allocations: 9.719 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.7915, allocations: 318.8 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-06/0.7915, allocations: 0 / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.7915, allocations: 4.125 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.7915, allocations: 12.8 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7915, allocations: 0 / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.616e-05/0.7916, allocations: 37.62 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.7916, allocations: 4 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7916, allocations: 7.938 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.7916, allocations: 0 / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.63e-05/0.7916, allocations: 0 / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7917, allocations: 3.984 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-06/0.7917, allocations: 0 / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.7917, allocations: 8.094 kB / 1.355 GB, free: 15.18 MB / 1.042 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 4.912e-05/0.7917, allocations: 110.4 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-06/0.7917, allocations: 0 / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.7918, allocations: 44.56 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.7918, allocations: 0 / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7918, allocations: 4 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7918, allocations: 7.984 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.43e-05/0.7918, allocations: 112.8 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7918, allocations: 3.984 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.7919, allocations: 0 / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7919, allocations: 11.97 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.7919, allocations: 3.938 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.7919, allocations: 0 / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7919, allocations: 0 / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.644e-05/0.7919, allocations: 61.09 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-06/0.7919, allocations: 3.984 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.7919, allocations: 3.938 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-06/0.7919, allocations: 0 / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.7919, allocations: 0 / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.7919, allocations: 0 / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of sorting global known variables: time 1.937e-05/0.792, allocations: 83.31 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.792, allocations: 3.938 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001453/0.7921, allocations: 15.94 kB / 1.355 GB, free: 14.64 MB / 1.042 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.0002856/0.7924, allocations: 0.6046 MB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 5.962e-05/0.7924, allocations: 7.984 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.7924, allocations: 4.094 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/0.7924, allocations: 11.88 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.036e-05/0.7925, allocations: 0 / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.7928, allocations: 108.9 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.7928, allocations: 63.2 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.266e-06/0.7928, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.7928, allocations: 7.438 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of SimCode: time 3.61e-07/0.7928, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07535/0.8682, allocations: 1.647 MB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.871, allocations: 7.25 kB / 1.358 GB, free: 12.22 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.BesselJ0_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.816966263577342]