Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.Factorial.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.0008053/0.0008053, allocations: 100.3 kB / 19.72 MB, free: 428 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.0009319/0.0009319, allocations: 218.8 kB / 23.03 MB, free: 2.949 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.9646/0.9646, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.033/2.033, allocations: 0.5046 GB / 0.8104 GB, free: 2.762 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.Examples.Factorial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Factorial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009214/0.0009214, allocations: 63.91 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7839/0.7848, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001971/0.7868, allocations: 1.535 MB / 1.354 GB, free: 124 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0002993/0.7871, allocations: 119.6 kB / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.7871, allocations: 0 / 1.354 GB, free: 4 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.7871, allocations: 3.938 kB / 1.354 GB, free: 0 / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.7872, allocations: 7.984 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.7874, allocations: 27.97 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.7875, allocations: 35.91 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.7876, allocations: 4 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.7876, allocations: 15.92 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.7876, allocations: 11.98 kB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.7877, allocations: 4 kB / 1.354 GB, free: 15.89 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.7877, allocations: 8 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.7877, allocations: 11.92 kB / 1.354 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.7877, allocations: 7.984 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.7878, allocations: 38.02 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7878, allocations: 3.938 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7878, allocations: 3.938 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7879, allocations: 3.984 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003451/0.7882, allocations: 268 kB / 1.354 GB, free: 15.52 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7882, allocations: 8.922 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.7883, allocations: 34.75 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.7883, allocations: 8.828 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.324e-05/0.7884, allocations: 106.5 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.7884, allocations: 384 / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.7884, allocations: 8.375 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.7885, allocations: 62.22 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7885, allocations: 3.938 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.7885, allocations: 0 / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7885, allocations: 7.938 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.7886, allocations: 43.89 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.7889, allocations: 239.9 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.7891, allocations: 58.53 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.7892, allocations: 20.91 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/0.7892, allocations: 11.98 kB / 1.355 GB, free: 14.83 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.7893, allocations: 34.5 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7893, allocations: 0 / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002235/0.7895, allocations: 89.62 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.7895, allocations: 55.41 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.162e-05/0.7896, allocations: 101.9 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.7896, allocations: 25.7 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.7896, allocations: 92.12 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.7896, allocations: 3.953 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.7896, allocations: 13.72 kB / 1.355 GB, free: 14.37 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.7897, allocations: 314.8 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/0.7898, allocations: 23.97 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.7898, allocations: 11.98 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.421e-05/0.7899, allocations: 60.69 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7899, allocations: 0 / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001071/0.79, allocations: 81.55 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.79, allocations: 4 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.79, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.79, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.625e-05/0.7901, allocations: 11.98 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.7901, allocations: 0 / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.7901, allocations: 11.98 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.7901, allocations: 0 / 1.356 GB, free: 13.84 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: 2 (rea2Int.y,fac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.626e-05/0.7902, allocations: 118.2 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.7902, allocations: 4 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.7903, allocations: 81.84 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7903, allocations: 0 / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.7903, allocations: 3.984 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7903, allocations: 4 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.7904, allocations: 132.7 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.7904, allocations: 3.938 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.7905, allocations: 11.98 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.7905, allocations: 4.031 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.7905, allocations: 4 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7905, allocations: 0 / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7905, allocations: 0 / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.7907, allocations: 179.4 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.7908, allocations: 7.953 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.7908, allocations: 3.984 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.7908, allocations: 4 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.7908, allocations: 7.984 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.7908, allocations: 0 / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.7909, allocations: 83.28 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7909, allocations: 0 / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001506/0.791, allocations: 11.98 kB / 1.357 GB, free: 13.12 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: 2 (fac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003474/0.7914, allocations: 0.7162 MB / 1.357 GB, free: 12.37 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.7915, allocations: 39.95 kB / 1.357 GB, free: 12.33 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.7915, allocations: 0 / 1.357 GB, free: 12.33 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.7915, allocations: 23.92 kB / 1.357 GB, free: 12.31 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.7917, allocations: 11.98 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.792, allocations: 151.2 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.7921, allocations: 63.34 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.985e-05/0.7921, allocations: 4 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.7921, allocations: 15.44 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of SimCode: time 2.81e-07/0.7921, allocations: 0 / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07486/0.867, allocations: 2.128 MB / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/7.785, allocations: 5.375 kB / 1.36 GB, free: 10.01 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Factorial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_Factorial_fmu --startTime=0 --stopTime=13 --stepSize=0.0052 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_Factorial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Factorial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Factorial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Factorial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Factorial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.Factorial_fmpy_res.csv --start-time 0 --stop-time 13 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0052 ../Buildings_13_Buildings_Utilities_Math_Examples_Factorial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Factorial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.776576094329357]