Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.312/2.312, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 188.5 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.813/2.813, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 95.03 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004688, allocations: 14.8 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2165, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001863/0.2184, allocations: 1.228 MB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004135/0.2188, allocations: 124.5 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.2189, allocations: 0 / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2189, allocations: 3.938 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.219, allocations: 4 kB / 0.9004 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2192, allocations: 15.98 kB / 0.9004 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.2193, allocations: 27.92 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.2194, allocations: 7.984 kB / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.2195, allocations: 15.92 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.2195, allocations: 11.94 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.2195, allocations: 0 / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.91e-05/0.2196, allocations: 7.984 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.2196, allocations: 8 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.2197, allocations: 29.7 kB / 0.9005 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.72e-05/0.2198, allocations: 27.94 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2198, allocations: 4 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2198, allocations: 0 / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2198, allocations: 0 / 0.9005 GB, free: 63.88 MB / 0.6042 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.0004754/0.2203, allocations: 336.9 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2203, allocations: 12.03 kB / 0.9008 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.2204, allocations: 4.938 kB / 0.9009 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.2205, allocations: 172.5 kB / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2205, allocations: 8.312 kB / 0.901 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2206, allocations: 384 / 0.901 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2208, allocations: 62.22 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2208, allocations: 192 / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2209, allocations: 3.938 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2209, allocations: 8 kB / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.2212, allocations: 59.88 kB / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.2216, allocations: 253 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.2221, allocations: 74.41 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.2223, allocations: 32.89 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.2224, allocations: 81.11 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2225, allocations: 34.56 kB / 0.9016 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.2225, allocations: 3.938 kB / 0.9016 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0006027/0.2231, allocations: 117.6 kB / 0.9017 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2232, allocations: 51.41 kB / 0.9018 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.2232, allocations: 101.8 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.2233, allocations: 25.7 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.2233, allocations: 88.05 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.2233, allocations: 0 / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.2233, allocations: 0 / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.2234, allocations: 314.8 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.2236, allocations: 31.97 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2237, allocations: 19.98 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.2239, allocations: 23.98 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2239, allocations: 7.938 kB / 0.9024 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003599/0.2243, allocations: 89.55 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2243, allocations: 4 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2243, allocations: 3.938 kB / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2244, allocations: 0 / 0.9025 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2245, allocations: 19.98 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2245, allocations: 0 / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.616e-05/0.2247, allocations: 8 kB / 0.9025 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.2247, allocations: 3.984 kB / 0.9025 GB, free: 61.63 MB / 0.6042 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 7.42e-05/0.2248, allocations: 113.8 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.2248, allocations: 4 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.2252, allocations: 89.14 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2252, allocations: 4 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2252, allocations: 0 / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2253, allocations: 0 / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2254, allocations: 166.2 kB / 0.9028 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2254, allocations: 7.938 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.2256, allocations: 23.92 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2256, allocations: 0 / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.2256, allocations: 0 / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2256, allocations: 0 / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2256, allocations: 4 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.226, allocations: 191.3 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.2261, allocations: 81.05 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.2261, allocations: 0 / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2262, allocations: 8 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.2263, allocations: 11.98 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.2263, allocations: 0 / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.2264, allocations: 87.27 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2264, allocations: 0 / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000287/0.2267, allocations: 7.938 kB / 0.9032 GB, free: 60.74 MB / 0.6042 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,rea2Int.y) * 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.0001573/0.2269, allocations: 103.2 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.2272, allocations: 59.95 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2273, allocations: 0 / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.2274, allocations: 31.97 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2278, allocations: 3.938 kB / 0.9034 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.2281, allocations: 120.7 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2282, allocations: 0.6809 MB / 0.9042 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.899e-05/0.2283, allocations: 7.938 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.2283, allocations: 7.438 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2284, allocations: 0 / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.003304/0.2317, allocations: 0.5937 MB / 0.9048 GB, free: 59.08 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1)