Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.649/2.649, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 174.2 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 109.7 kB / 0.743 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004833/0.0004832, allocations: 17.53 kB / 0.8658 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9081/1.117, allocations: 138.1 MB / 1.113 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.118, allocations: 72.58 kB / 1.113 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004052/1.122, allocations: 0.937 MB / 1.114 GB, free: 31.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.122, allocations: 1.969 kB / 1.114 GB, free: 31.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.327e-06/1.122, allocations: 3.844 kB / 1.114 GB, free: 31.38 MB / 0.698 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.0005253/1.122, allocations: 345 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.123, allocations: 11.7 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/1.123, allocations: 7.719 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/1.123, allocations: 170.7 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/1.123, allocations: 0 / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/1.123, allocations: 3.875 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/1.123, allocations: 73.25 kB / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.123, allocations: 0 / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.123, allocations: 0 / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.123, allocations: 0 / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/1.123, allocations: 46.62 kB / 1.115 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/1.124, allocations: 288.6 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/1.124, allocations: 64.2 kB / 1.115 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/1.125, allocations: 86.34 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/1.125, allocations: 31.59 kB / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.385e-06/1.125, allocations: 0 / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005855/1.125, allocations: 113.6 kB / 1.115 GB, free: 30.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/1.125, allocations: 52.62 kB / 1.115 GB, free: 30.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.661e-05/1.125, allocations: 93.92 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/1.125, allocations: 33.33 kB / 1.116 GB, free: 30.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/1.126, allocations: 81.27 kB / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/1.126, allocations: 3.906 kB / 1.116 GB, free: 30.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/1.126, allocations: 7.812 kB / 1.116 GB, free: 30.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.126, allocations: 323.9 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/1.126, allocations: 19 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/1.126, allocations: 25.56 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/1.126, allocations: 28.58 kB / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.126, allocations: 0 / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004076/1.127, allocations: 82.41 kB / 1.116 GB, free: 29.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.127, allocations: 8.797 kB / 1.116 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.127, allocations: 0 / 1.116 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.127, allocations: 4 kB / 1.116 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/1.127, allocations: 11.75 kB / 1.116 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.127, allocations: 3.844 kB / 1.116 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/1.127, allocations: 6.938 kB / 1.116 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/1.127, allocations: 3.875 kB / 1.116 GB, free: 29.67 MB / 0.698 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 (fac.y,fac.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.127, allocations: 118.8 kB / 1.116 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/1.127, allocations: 7.906 kB / 1.116 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/1.128, allocations: 96.33 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.128, allocations: 4.625 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.128, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.128, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/1.128, allocations: 172.4 kB / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.128, allocations: 0 / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/1.128, allocations: 15.55 kB / 1.117 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.128, allocations: 3.938 kB / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.128, allocations: 4.766 kB / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.128, allocations: 0 / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.128, allocations: 0 / 1.117 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/1.128, allocations: 184.1 kB / 1.117 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/1.129, allocations: 82.44 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/1.129, allocations: 0 / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/1.129, allocations: 10 kB / 1.117 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/1.129, allocations: 11 kB / 1.117 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/1.129, allocations: 0 / 1.117 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.8e-05/1.129, allocations: 84.58 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.129, allocations: 0 / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003103/1.129, allocations: 15.44 kB / 1.117 GB, free: 28.98 MB / 0.698 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,fac.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/1.129, allocations: 108.2 kB / 1.117 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003716/1.13, allocations: 62.36 kB / 1.117 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/1.13, allocations: 0 / 1.117 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/1.13, allocations: 29.38 kB / 1.117 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/1.13, allocations: 7.797 kB / 1.117 GB, free: 28.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/1.131, allocations: 118.6 kB / 1.117 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/1.131, allocations: 0.682 MB / 1.118 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.107e-05/1.131, allocations: 3.812 kB / 1.118 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/1.131, allocations: 7.438 kB / 1.118 GB, free: 28.05 MB / 0.698 GB Notification: Performance of SimCode: time 7.92e-07/1.131, allocations: 0 / 1.118 GB, free: 28.05 MB / 0.698 GB Notification: Performance of Templates: time 0.003253/1.134, allocations: 0.6049 MB / 1.118 GB, free: 28 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)