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.0009247/0.0009247, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.0009487/0.0009487, allocations: 173 kB / 24.05 MB, free: 448 kB / 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 0.9622/0.9622, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6203/0.6203, allocations: 115 MB / 376 MB, free: 7.453 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 1.673e-06/1.673e-06, allocations: 0 / 482 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.169e-05, allocations: 2.312 kB / 482 MB, free: 11.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.001901/0.001923, allocations: 1.573 MB / 483.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.002178, allocations: 126.8 kB / 483.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.00221, allocations: 1.062 kB / 483.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.148e-05/0.002232, allocations: 1.062 kB / 483.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.002272, allocations: 5.031 kB / 483.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.002512, allocations: 29.62 kB / 483.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.718e-05/0.002569, allocations: 28.47 kB / 483.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.002645, allocations: 6.391 kB / 483.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.002698, allocations: 25.53 kB / 483.8 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.002737, allocations: 12.23 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.002752, allocations: 3.312 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.047e-05/0.002813, allocations: 11.02 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.002825, allocations: 5.25 kB / 483.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.002841, allocations: 14.69 kB / 483.8 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.399e-05/0.002935, allocations: 30.41 kB / 483.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002937, allocations: 0.9062 kB / 483.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.002937, allocations: 0.9062 kB / 483.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.00294, allocations: 0 / 483.8 MB, free: 10.5 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.0002575/0.003198, allocations: 369.8 kB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.003236, allocations: 9.562 kB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.003262, allocations: 5.562 kB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.072e-05/0.003313, allocations: 110.8 kB / 484.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.003328, allocations: 2.375 kB / 484.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-06/0.003334, allocations: 1.594 kB / 484.3 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.003448, allocations: 63.48 kB / 484.4 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.003454, allocations: 0.8125 kB / 484.4 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.003461, allocations: 5.422 kB / 484.4 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.003467, allocations: 2.625 kB / 484.4 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.642e-05/0.003493, allocations: 16.77 kB / 484.4 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.003858, allocations: 246.5 kB / 484.7 MB, free: 25.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.003989, allocations: 46.31 kB / 484.7 MB, free: 25.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.004005, allocations: 18.19 kB / 484.7 MB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.004061, allocations: 3.844 kB / 484.7 MB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.004074, allocations: 43.58 kB / 484.8 MB, free: 25.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.004075, allocations: 0 / 484.8 MB, free: 25.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001064/0.004181, allocations: 57.38 kB / 484.8 MB, free: 25.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.473e-05/0.004196, allocations: 53.34 kB / 484.9 MB, free: 25.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/0.004245, allocations: 161.7 kB / 485 MB, free: 25.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.00425, allocations: 26.52 kB / 485.1 MB, free: 25.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.004282, allocations: 129.2 kB / 485.2 MB, free: 25.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.004295, allocations: 6.391 kB / 485.2 MB, free: 25.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.004322, allocations: 23.25 kB / 485.2 MB, free: 25.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.004408, allocations: 0.489 MB / 485.7 MB, free: 24.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.00442, allocations: 1.969 kB / 485.7 MB, free: 24.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.00443, allocations: 8.781 kB / 485.7 MB, free: 24.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.416e-05/0.004454, allocations: 17.02 kB / 485.7 MB, free: 24.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004456, allocations: 0 / 485.7 MB, free: 24.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.515e-05/0.004501, allocations: 46.89 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.004512, allocations: 5.031 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004516, allocations: 3.984 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.004525, allocations: 5.219 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.004566, allocations: 8.719 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.00457, allocations: 2.125 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.004588, allocations: 2.531 kB / 485.8 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-06/0.004591, allocations: 1.219 kB / 485.8 MB, free: 24.55 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 5.783e-05/0.004649, allocations: 161.5 kB / 486 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.004662, allocations: 7.828 kB / 486 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.004732, allocations: 54.2 kB / 486 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.004734, allocations: 5.094 kB / 486 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.004736, allocations: 0.5625 kB / 486 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.004738, allocations: 2.219 kB / 486 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.767e-05/0.004806, allocations: 97.8 kB / 486.1 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.004808, allocations: 3.984 kB / 486.1 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.634e-05/0.004834, allocations: 10.8 kB / 486.1 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.004836, allocations: 1.156 kB / 486.1 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.004839, allocations: 0 / 486.1 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.004841, allocations: 2.562 kB / 486.1 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004841, allocations: 3.938 kB / 486.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.412e-05/0.004925, allocations: 199.6 kB / 486.3 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.004931, allocations: 2.562 kB / 486.3 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-06/0.004938, allocations: 4.938 kB / 486.3 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.053e-05/0.004969, allocations: 2.5 kB / 486.3 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.005, allocations: 14.72 kB / 486.4 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.005004, allocations: 4.625 kB / 486.4 MB, free: 24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.173e-05/0.005036, allocations: 123.5 kB / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005036, allocations: 0 / 486.5 MB, free: 23.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.005174, allocations: 10.64 kB / 486.5 MB, free: 23.88 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.000105/0.005279, allocations: 101.5 kB / 486.6 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.937e-05/0.005338, allocations: 23.44 kB / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.00534, allocations: 2.031 kB / 486.6 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.005363, allocations: 21.06 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.005521, allocations: 6 kB / 486.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001828/0.005704, allocations: 122.6 kB / 486.8 MB, free: 23.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.066e-05/0.005724, allocations: 53.55 kB / 486.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.964e-05/0.005744, allocations: 8.734 kB / 486.8 MB, free: 23.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.005786, allocations: 75.88 kB / 486.9 MB, free: 23.49 MB / 426.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005786, allocations: 0 / 486.9 MB, free: 23.49 MB / 426.7 MB Notification: Performance of Templates: time 0.002294/0.00808, allocations: 0.8252 MB / 487.7 MB, free: 23.42 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.485445709899068]