Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 92.72 kB / 20.21 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002429/0.002429, allocations: 157.3 kB / 23.51 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.012/1.012, allocations: 115 MB / 375.3 MB, free: 7.547 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 480.8 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.139e-05, allocations: 2.969 kB / 480.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.003913/0.003945, allocations: 1.531 MB / 482.3 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.004498, allocations: 129.9 kB / 482.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.004553, allocations: 3 kB / 482.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.004594, allocations: 3.938 kB / 482.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.004658, allocations: 3.938 kB / 482.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.004982, allocations: 22.34 kB / 482.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.005076, allocations: 28.39 kB / 482.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.005188, allocations: 16.05 kB / 482.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.00526, allocations: 13.05 kB / 482.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.005318, allocations: 11.09 kB / 482.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.00534, allocations: 2.781 kB / 482.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.00542, allocations: 14.91 kB / 482.6 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.005441, allocations: 17 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.005474, allocations: 3.5 kB / 482.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.005634, allocations: 42.45 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.005638, allocations: 2.375 kB / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005639, allocations: 0 / 482.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.005644, allocations: 4.781 kB / 482.6 MB, free: 10.65 MB / 410.7 MB 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.0005305/0.006174, allocations: 268.2 kB / 482.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.006221, allocations: 11.97 kB / 482.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.006282, allocations: 2.469 kB / 482.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.032e-05/0.006372, allocations: 116.2 kB / 483 MB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.0064, allocations: 7.812 kB / 483 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.006415, allocations: 1 kB / 483 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.006689, allocations: 61.25 kB / 483.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.006701, allocations: 192 / 483.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.006714, allocations: 1 kB / 483.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.006719, allocations: 384 / 483.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.007052, allocations: 45.16 kB / 483.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.007438, allocations: 200.4 kB / 483.3 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.007956, allocations: 65.86 kB / 483.4 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.008123, allocations: 23.59 kB / 483.4 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.008238, allocations: 7.422 kB / 483.4 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.008254, allocations: 32.09 kB / 483.5 MB, free: 9.902 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.008255, allocations: 2.094 kB / 483.5 MB, free: 9.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006507/0.008906, allocations: 100.4 kB / 483.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.00893, allocations: 52.12 kB / 483.6 MB, free: 9.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.008999, allocations: 102.8 kB / 483.7 MB, free: 9.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.009011, allocations: 29.7 kB / 483.7 MB, free: 9.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.00904, allocations: 82.11 kB / 483.8 MB, free: 9.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.009063, allocations: 9.547 kB / 483.8 MB, free: 9.562 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.893e-05/0.009111, allocations: 20.3 kB / 483.8 MB, free: 9.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004168/0.009528, allocations: 313.8 kB / 484.2 MB, free: 25.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.009676, allocations: 23.39 kB / 484.2 MB, free: 25.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.00982, allocations: 20.36 kB / 484.2 MB, free: 25.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.0101, allocations: 39.91 kB / 484.2 MB, free: 25.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01011, allocations: 3.984 kB / 484.2 MB, free: 25.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003862/0.01049, allocations: 81.03 kB / 484.3 MB, free: 25.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.01051, allocations: 9.062 kB / 484.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01052, allocations: 4.969 kB / 484.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.01054, allocations: 0.5156 kB / 484.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.01068, allocations: 9.969 kB / 484.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.01069, allocations: 2.875 kB / 484.3 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.01078, allocations: 6.469 kB / 484.4 MB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.01079, allocations: 2.625 kB / 484.4 MB, free: 25.16 MB / 426.7 MB 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 0.0001212/0.01092, allocations: 112.4 kB / 484.5 MB, free: 25.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.01096, allocations: 6.422 kB / 484.5 MB, free: 25.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.01139, allocations: 90.8 kB / 484.6 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01139, allocations: 2.406 kB / 484.6 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.0114, allocations: 0 / 484.6 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.0114, allocations: 1.031 kB / 484.6 MB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.01156, allocations: 107.8 kB / 484.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01157, allocations: 5.125 kB / 484.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.01168, allocations: 10.67 kB / 484.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01168, allocations: 1.156 kB / 484.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01169, allocations: 4 kB / 484.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.0117, allocations: 10.22 kB / 484.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.0117, allocations: 0 / 484.7 MB, free: 24.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.01212, allocations: 166.1 kB / 484.9 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.01213, allocations: 2.062 kB / 484.9 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.01215, allocations: 1.844 kB / 484.9 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.01229, allocations: 10.72 kB / 484.9 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.01236, allocations: 13.89 kB / 484.9 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.01236, allocations: 3.344 kB / 484.9 MB, free: 24.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.094e-05/0.01243, allocations: 78.59 kB / 485 MB, free: 24.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01243, allocations: 0 / 485 MB, free: 24.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003876/0.01282, allocations: 6.719 kB / 485 MB, free: 24.62 MB / 426.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001826/0.013, allocations: 101.4 kB / 485.1 MB, free: 24.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.01332, allocations: 43.7 kB / 485.1 MB, free: 24.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01332, allocations: 0 / 485.1 MB, free: 24.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.01346, allocations: 25.56 kB / 485.1 MB, free: 24.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.01388, allocations: 7.938 kB / 485.1 MB, free: 24.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.01423, allocations: 128.2 kB / 485.3 MB, free: 24.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.01428, allocations: 62.05 kB / 485.3 MB, free: 24.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.01432, allocations: 3.688 kB / 485.3 MB, free: 24.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.01437, allocations: 15.39 kB / 485.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01437, allocations: 0 / 485.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of Templates: time 0.00435/0.01872, allocations: 0.7629 MB / 486.1 MB, free: 24.25 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.645891045918688]