Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 108.7 kB / 16.37 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 72.47 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2202, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002994/0.2233, allocations: 1.505 MB / 0.7863 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003696/0.2237, allocations: 124.5 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.2237, allocations: 0 / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.2238, allocations: 3.938 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.855e-05/0.2238, allocations: 7.984 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2241, allocations: 27.91 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.449e-05/0.2242, allocations: 31.86 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2243, allocations: 8 kB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.2243, allocations: 7.984 kB / 0.7865 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/0.2244, allocations: 27.91 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.2244, allocations: 0 / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.2245, allocations: 12 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.2245, allocations: 7.984 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.2246, allocations: 15.88 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2247, allocations: 31.89 kB / 0.7866 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2247, allocations: 0 / 0.7866 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2247, allocations: 0 / 0.7866 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2247, allocations: 0 / 0.7866 GB, free: 1.363 MB / 0.6544 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.0005149/0.2252, allocations: 351.4 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2253, allocations: 15.97 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2253, allocations: 0.9375 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2255, allocations: 160.4 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2255, allocations: 8.375 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2255, allocations: 4.312 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.2257, allocations: 58.22 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2257, allocations: 192 / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2258, allocations: 3.938 kB / 0.7871 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2258, allocations: 4 kB / 0.7871 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.2259, allocations: 43.95 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.2263, allocations: 256.9 kB / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.2267, allocations: 66.41 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.2268, allocations: 32.89 kB / 0.7875 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.2269, allocations: 81.11 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.227, allocations: 34.56 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.227, allocations: 0 / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.3166/0.5435, allocations: 89.48 kB / 0.7877 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.5436, allocations: 55.47 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.5437, allocations: 99.19 kB / 0.7879 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.5437, allocations: 27.67 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.5438, allocations: 83.11 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.5438, allocations: 14.55 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.5438, allocations: 19.41 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.5439, allocations: 314.9 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.544, allocations: 16.89 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.5441, allocations: 22.06 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.5442, allocations: 49.34 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5442, allocations: 0 / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002131/0.5445, allocations: 78.78 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5445, allocations: 5.25 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.5445, allocations: 0 / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5445, allocations: 1 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.5446, allocations: 11.25 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5446, allocations: 1.938 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.5447, allocations: 9.281 kB / 0.7885 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.5447, allocations: 0 / 0.7885 GB, free: 48.3 MB / 0.6544 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 6.338e-05/0.5448, allocations: 114.9 kB / 0.7886 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.5448, allocations: 8.672 kB / 0.7886 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.545, allocations: 84.8 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5451, allocations: 2.625 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5451, allocations: 0 / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.5451, allocations: 79.89 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.5451, allocations: 0.7188 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.5452, allocations: 12.59 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.5453, allocations: 10.91 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002313/0.5455, allocations: 163.1 kB / 0.7889 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002114/0.5457, allocations: 247.8 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.807e-05/0.5458, allocations: 23.94 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.041e-05/0.5458, allocations: 87.41 kB / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of Backend: time 2.61e-07/0.5458, allocations: 0 / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.5463, allocations: 106.5 kB / 0.7894 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003533/0.5466, allocations: 0.5531 MB / 0.7899 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.002451/0.5491, allocations: 0.7985 MB / 0.7907 GB, free: 47.05 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)