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.629/1.629, allocations: 288.4 MB / 304.3 MB, free: 8.211 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.0009879/0.0009881, allocations: 187.1 kB / 372.9 MB, free: 10.15 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.447/1.447, allocations: 205.4 MB / 0.6316 GB, free: 9.887 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.0007444/0.0007443, allocations: 92.19 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004137, allocations: 17.41 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2336, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001529/0.2352, allocations: 1.224 MB / 0.9819 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000313/0.2356, allocations: 116.6 kB / 0.982 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.2356, allocations: 0 / 0.982 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.2356, allocations: 0 / 0.982 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.2357, allocations: 3.938 kB / 0.982 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.2359, allocations: 19.98 kB / 0.9821 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.835e-05/0.236, allocations: 27.92 kB / 0.9821 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.2361, allocations: 11.98 kB / 0.9821 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.2361, allocations: 7.984 kB / 0.9821 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.2362, allocations: 15.92 kB / 0.9821 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2362, allocations: 0 / 0.9821 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.556e-05/0.2363, allocations: 8 kB / 0.9821 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.2363, allocations: 4 kB / 0.9821 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.2363, allocations: 37.62 kB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.721e-05/0.2364, allocations: 27.89 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2364, allocations: 0 / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2364, allocations: 0 / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2364, allocations: 0 / 0.9822 GB, free: 25.83 MB / 0.6198 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.0003962/0.2368, allocations: 347.7 kB / 0.9825 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2369, allocations: 8.031 kB / 0.9825 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.2369, allocations: 8.875 kB / 0.9825 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.283e-05/0.237, allocations: 168.4 kB / 0.9827 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.237, allocations: 384 / 0.9827 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.237, allocations: 4.375 kB / 0.9827 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.2372, allocations: 62.23 kB / 0.9828 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2372, allocations: 192 / 0.9828 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2373, allocations: 3.938 kB / 0.9828 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2373, allocations: 0 / 0.9828 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2374, allocations: 51.95 kB / 0.9828 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.2378, allocations: 268.8 kB / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.2381, allocations: 70.47 kB / 0.9831 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.2382, allocations: 28.84 kB / 0.9832 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.646e-05/0.2383, allocations: 89.09 kB / 0.9833 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.2383, allocations: 34.56 kB / 0.9833 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2383, allocations: 0 / 0.9833 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003477/0.2386, allocations: 109.6 kB / 0.9834 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.2387, allocations: 55.41 kB / 0.9834 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.288e-05/0.2387, allocations: 101.8 kB / 0.9835 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.2387, allocations: 29.7 kB / 0.9836 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.2388, allocations: 84.14 kB / 0.9837 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.2388, allocations: 8.719 kB / 0.9837 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.2388, allocations: 0 / 0.9837 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.245e-05/0.2389, allocations: 318.8 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.2389, allocations: 23.98 kB / 0.984 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.239, allocations: 27.97 kB / 0.984 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.2392, allocations: 56.77 kB / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2392, allocations: 0 / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001848/0.2394, allocations: 97.42 kB / 0.9842 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2394, allocations: 4 kB / 0.9842 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2394, allocations: 4 kB / 0.9842 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2394, allocations: 0 / 0.9842 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.2395, allocations: 15.98 kB / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2395, allocations: 0 / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.2396, allocations: 8 kB / 0.9842 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2396, allocations: 0 / 0.9842 GB, free: 23.55 MB / 0.6198 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,rea2Int.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.2397, allocations: 127.5 kB / 0.9843 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.2397, allocations: 0 / 0.9843 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.24, allocations: 97.08 kB / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.24, allocations: 0 / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.24, allocations: 4 kB / 0.9844 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.24, allocations: 77.11 kB / 0.9845 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.24, allocations: 4 kB / 0.9845 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.2401, allocations: 15.98 kB / 0.9845 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2402, allocations: 11.92 kB / 0.9845 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002451/0.2404, allocations: 172.9 kB / 0.9847 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000223/0.2407, allocations: 255.2 kB / 0.9849 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.6e-05/0.2408, allocations: 36.02 kB / 0.985 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.2408, allocations: 87.27 kB / 0.985 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of Backend: time 6.71e-07/0.2408, allocations: 0 / 0.985 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.2412, allocations: 106.4 kB / 0.9851 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004002/0.2416, allocations: 0.5721 MB / 0.9857 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.002685/0.2443, allocations: 0.6933 MB / 0.9864 GB, free: 21.21 MB / 0.6198 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)