Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.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.001194/0.001194, allocations: 91.67 kB / 20.95 MB, free: 3.305 MB / 18.57 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.003447/0.003447, allocations: 166.4 kB / 24.38 MB, free: 8.473 MB / 18.57 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.9372/0.9372, allocations: 177.2 MB / 204.8 MB, free: 5.402 MB / 186.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 1.869/1.869, allocations: 389.6 MB / 0.6356 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] 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: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 4 kB / 0.7756 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.329e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001619/0.001643, allocations: 0.6681 MB / 0.7763 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002275/0.00187, allocations: 48.39 kB / 0.7763 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.001886, allocations: 1.5 kB / 0.7763 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.001901, allocations: 0 / 0.7763 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.034e-06/0.001908, allocations: 0 / 0.7763 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.002106, allocations: 8.594 kB / 0.7763 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.002151, allocations: 9.109 kB / 0.7763 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.00219, allocations: 7.984 kB / 0.7763 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.002216, allocations: 1.094 kB / 0.7763 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.002235, allocations: 4.781 kB / 0.7763 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.002246, allocations: 0 / 0.7763 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.002348, allocations: 16.58 kB / 0.7764 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.002359, allocations: 0.9844 kB / 0.7764 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.21e-05/0.002371, allocations: 4.734 kB / 0.7764 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.436e-05/0.002445, allocations: 8 kB / 0.7764 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002447, allocations: 2.516 kB / 0.7764 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002448, allocations: 0 / 0.7764 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002452, allocations: 0 / 0.7764 GB, free: 4.363 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001973/0.002649, allocations: 212.8 kB / 0.7766 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.002684, allocations: 10.78 kB / 0.7766 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.002707, allocations: 4.938 kB / 0.7766 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.002779, allocations: 109.8 kB / 0.7767 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.00279, allocations: 4.922 kB / 0.7767 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.0028, allocations: 1.031 kB / 0.7767 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.616e-05/0.002866, allocations: 35.92 kB / 0.7767 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.002873, allocations: 192 / 0.7767 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.002879, allocations: 384 / 0.7767 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.002883, allocations: 1.031 kB / 0.7767 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.002905, allocations: 11.92 kB / 0.7768 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.196e-05/0.002987, allocations: 61.84 kB / 0.7768 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.878e-05/0.003026, allocations: 19.11 kB / 0.7768 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.003039, allocations: 5.75 kB / 0.7768 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.00314, allocations: 8.812 kB / 0.7768 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.003163, allocations: 41.91 kB / 0.7769 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.003164, allocations: 0 / 0.7769 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 9.214e-05/0.003256, allocations: 37.69 kB / 0.7769 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.003288, allocations: 51.41 kB / 0.777 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.357e-05/0.003322, allocations: 89.86 kB / 0.7771 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.003333, allocations: 25.7 kB / 0.7771 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.003353, allocations: 82.89 kB / 0.7772 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.003369, allocations: 8.234 kB / 0.7772 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.003396, allocations: 18.58 kB / 0.7772 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.003483, allocations: 322.8 kB / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-06/0.003489, allocations: 0 / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.003494, allocations: 0 / 0.7775 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.003524, allocations: 16.8 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.003526, allocations: 2.531 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.491e-05/0.003571, allocations: 37.69 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.003582, allocations: 4 kB / 0.7776 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.003586, allocations: 0.875 kB / 0.7776 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.104e-06/0.003593, allocations: 4 kB / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.782e-05/0.00363, allocations: 0 / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.003635, allocations: 9.562 kB / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.003646, allocations: 0 / 0.7776 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.003649, allocations: 0 / 0.7776 GB, free: 3.016 MB / 0.7292 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 (n,fac) * 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 5.635e-05/0.003706, allocations: 114.6 kB / 0.7777 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-06/0.003712, allocations: 4 kB / 0.7777 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.003769, allocations: 46.81 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.00377, allocations: 0 / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.003772, allocations: 0 / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.003774, allocations: 1.75 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.492e-05/0.003829, allocations: 65.84 kB / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.00383, allocations: 0 / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.003844, allocations: 4 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.003846, allocations: 0.5 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-06/0.003849, allocations: 0 / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.00385, allocations: 1.094 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.003851, allocations: 0.7656 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.602e-05/0.003907, allocations: 65.66 kB / 0.7779 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.003912, allocations: 4 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.003919, allocations: 1.125 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-06/0.003928, allocations: 3.984 kB / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.003947, allocations: 0 / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.003949, allocations: 4.688 kB / 0.7779 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.102e-06/0.003955, allocations: 5.953 kB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.003955, allocations: 0.7812 kB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001632/0.004119, allocations: 4 kB / 0.7779 GB, free: 2.652 MB / 0.7292 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,n) * 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.0001021/0.004221, allocations: 93.92 kB / 0.778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.046e-05/0.004271, allocations: 9.797 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.004273, allocations: 0 / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.004287, allocations: 12.8 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.428e-05/0.004342, allocations: 11.19 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001428/0.004484, allocations: 88.36 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.792e-05/0.004512, allocations: 52.77 kB / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.004524, allocations: 0 / 0.7781 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.004557, allocations: 51.38 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of SimCode: time 4.6e-07/0.004557, allocations: 2.75 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of Templates: time 0.001995/0.006553, allocations: 381.2 kB / 0.7786 GB, free: 1.926 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Factorial_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.766997712664306]