Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.5/2.5, allocations: 287.5 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 180.1 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009261/0.000925, allocations: 100.5 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006358/0.0006359, allocations: 13.25 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.232, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8815/1.114, allocations: 137.1 MB / 1.113 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.114, allocations: 81.84 kB / 1.113 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001738/1.116, allocations: 0.5183 MB / 1.114 GB, free: 31.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/1.116, allocations: 0 / 1.114 GB, free: 31.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.116, allocations: 0 / 1.114 GB, free: 31.48 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002589/1.116, allocations: 322.4 kB / 1.114 GB, free: 31.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.116, allocations: 7.688 kB / 1.114 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/1.116, allocations: 0.9375 kB / 1.114 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.207e-05/1.116, allocations: 164.2 kB / 1.114 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/1.116, allocations: 1.828 kB / 1.114 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/1.116, allocations: 384 / 1.114 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/1.116, allocations: 35.3 kB / 1.114 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.116, allocations: 0.875 kB / 1.114 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/1.116, allocations: 3.938 kB / 1.114 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/1.116, allocations: 4 kB / 1.114 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/1.116, allocations: 5.359 kB / 1.114 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/1.117, allocations: 151 kB / 1.114 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/1.117, allocations: 23.38 kB / 1.114 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/1.117, allocations: 6.125 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/1.117, allocations: 82.28 kB / 1.115 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/1.117, allocations: 41.91 kB / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/1.117, allocations: 0 / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001569/1.117, allocations: 46.66 kB / 1.115 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.117, allocations: 52.67 kB / 1.115 GB, free: 30.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.744e-05/1.117, allocations: 97.67 kB / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/1.117, allocations: 25.7 kB / 1.115 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/1.117, allocations: 80.14 kB / 1.115 GB, free: 30.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/1.117, allocations: 4.531 kB / 1.115 GB, free: 30.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.117, allocations: 4.125 kB / 1.115 GB, free: 30.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/1.117, allocations: 315.7 kB / 1.115 GB, free: 29.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/1.117, allocations: 0 / 1.115 GB, free: 29.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/1.117, allocations: 5.5 kB / 1.115 GB, free: 29.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/1.118, allocations: 12.2 kB / 1.115 GB, free: 29.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.118, allocations: 0 / 1.115 GB, free: 29.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.169e-05/1.118, allocations: 44.12 kB / 1.115 GB, free: 29.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.118, allocations: 3.812 kB / 1.115 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.118, allocations: 8.031 kB / 1.115 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.118, allocations: 3.938 kB / 1.115 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.914e-05/1.118, allocations: 5.453 kB / 1.115 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/1.118, allocations: 0 / 1.115 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/1.118, allocations: 0 / 1.115 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/1.118, allocations: 3.781 kB / 1.115 GB, free: 29.85 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,n) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.28e-05/1.118, allocations: 111.2 kB / 1.115 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/1.118, allocations: 3.984 kB / 1.115 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/1.118, allocations: 54.66 kB / 1.115 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/1.118, allocations: 3.938 kB / 1.115 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/1.118, allocations: 0 / 1.115 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.118, allocations: 3.906 kB / 1.115 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/1.118, allocations: 151.9 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.118, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/1.118, allocations: 5 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.118, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/1.118, allocations: 3.938 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.118, allocations: 0 / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.118, allocations: 1.359 kB / 1.116 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.595e-05/1.118, allocations: 67.59 kB / 1.116 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/1.118, allocations: 77.11 kB / 1.116 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/1.118, allocations: 5.109 kB / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/1.119, allocations: 0 / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/1.119, allocations: 5.094 kB / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/1.119, allocations: 0 / 1.116 GB, free: 29.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.328e-05/1.119, allocations: 75.28 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.119, allocations: 7.969 kB / 1.116 GB, free: 29.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002564/1.119, allocations: 7.781 kB / 1.116 GB, free: 29.25 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,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 (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.0001773/1.119, allocations: 111.9 kB / 1.116 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.752e-05/1.119, allocations: 8.484 kB / 1.116 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.119, allocations: 3.938 kB / 1.116 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/1.119, allocations: 4.891 kB / 1.116 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/1.119, allocations: 1.891 kB / 1.116 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001954/1.12, allocations: 85.45 kB / 1.116 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/1.12, allocations: 0.674 MB / 1.117 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.029e-05/1.12, allocations: 1.125 kB / 1.117 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/1.12, allocations: 11.38 kB / 1.117 GB, free: 28.35 MB / 0.698 GB Notification: Performance of SimCode: time 8.82e-07/1.12, allocations: 3.875 kB / 1.117 GB, free: 28.35 MB / 0.698 GB Notification: Performance of Templates: time 0.002586/1.122, allocations: 301.6 kB / 1.117 GB, free: 28.3 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1)