Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 288.4 MB / 304.3 MB, free: 7.992 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.000901/0.0009011, allocations: 176.5 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 0.6317 GB, free: 9.941 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.0007855/0.0007856, allocations: 90.88 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 12.84 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1979, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6447/0.8427, allocations: 138.3 MB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.8429, allocations: 73.5 kB / 1.116 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002898/0.8459, allocations: 0.9382 MB / 1.117 GB, free: 32.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8459, allocations: 0 / 1.117 GB, free: 32.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.8459, allocations: 4 kB / 1.117 GB, free: 32.08 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.0003685/0.8463, allocations: 345.1 kB / 1.117 GB, free: 31.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8463, allocations: 7.688 kB / 1.117 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.8464, allocations: 12.66 kB / 1.117 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.8465, allocations: 169.2 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.8465, allocations: 3.812 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.8465, allocations: 5.531 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.8467, allocations: 66.12 kB / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.8467, allocations: 192 / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.8467, allocations: 3.938 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8467, allocations: 0 / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.8469, allocations: 59.62 kB / 1.117 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.8473, allocations: 273.9 kB / 1.118 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.8476, allocations: 65.81 kB / 1.118 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.8477, allocations: 33.11 kB / 1.118 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.8479, allocations: 83.86 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.8479, allocations: 41.84 kB / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.8479, allocations: 0 / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003709/0.8483, allocations: 116.3 kB / 1.118 GB, free: 30.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.8483, allocations: 55.41 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.8484, allocations: 99.36 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.8484, allocations: 25.7 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.8485, allocations: 83.95 kB / 1.118 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.8485, allocations: 7.094 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/0.8485, allocations: 0 / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.8486, allocations: 313.7 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.8487, allocations: 27.17 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.8488, allocations: 24.28 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.8489, allocations: 63.94 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.849, allocations: 6.281 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001905/0.8491, allocations: 77.61 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.8492, allocations: 8.453 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8492, allocations: 0.75 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8492, allocations: 4 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.8493, allocations: 18.27 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.8493, allocations: 0 / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.8494, allocations: 10.25 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.8494, allocations: 0 / 1.119 GB, free: 30.33 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 7.271e-05/0.8495, allocations: 119.8 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.8495, allocations: 3.906 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.8497, allocations: 104.7 kB / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.8497, allocations: 0 / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8498, allocations: 0 / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8498, allocations: 0 / 1.119 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.8499, allocations: 172.9 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8499, allocations: 7.938 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/0.85, allocations: 15.05 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.85, allocations: 0 / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.85, allocations: 0 / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.85, allocations: 0 / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.85, allocations: 3.047 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.8503, allocations: 188.3 kB / 1.119 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.8503, allocations: 77.11 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.8504, allocations: 3.094 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.8505, allocations: 7.719 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.8505, allocations: 10.22 kB / 1.119 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.8505, allocations: 6.719 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.8506, allocations: 79.12 kB / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.8506, allocations: 0 / 1.12 GB, free: 29.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002223/0.8508, allocations: 19.41 kB / 1.12 GB, free: 29.63 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.0001554/0.851, allocations: 109.2 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.8512, allocations: 58.31 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8512, allocations: 0 / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.8513, allocations: 28.88 kB / 1.12 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.8516, allocations: 10.81 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.8519, allocations: 118.4 kB / 1.12 GB, free: 29.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.8521, allocations: 0.6797 MB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.157e-05/0.8521, allocations: 2.953 kB / 1.121 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.8522, allocations: 11.28 kB / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.8522, allocations: 0 / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of Templates: time 0.00271/0.8549, allocations: 0.6136 MB / 1.121 GB, free: 28.64 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)