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.001151/0.001151, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001279/0.001279, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.948/0.948, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.607/0.607, allocations: 115 MB / 375.7 MB, free: 7.656 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.313e-06/1.313e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.155e-05, allocations: 4.984 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.0025/0.002521, allocations: 1.581 MB / 483.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004354/0.002957, allocations: 128.8 kB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.002997, allocations: 4.375 kB / 483.2 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.003033, allocations: 3.938 kB / 483.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.003086, allocations: 0 / 483.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.0034, allocations: 33.03 kB / 483.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.732e-05/0.003487, allocations: 28.69 kB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.003598, allocations: 9.969 kB / 483.3 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.681e-05/0.003665, allocations: 14.83 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.00372, allocations: 17.75 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.003742, allocations: 3.094 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.043e-05/0.003822, allocations: 15.11 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.003837, allocations: 1.531 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.003861, allocations: 8.375 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.004014, allocations: 33.45 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.004019, allocations: 0 / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.00402, allocations: 1.656 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.004026, allocations: 0 / 483.4 MB, free: 10.68 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.0004059/0.004431, allocations: 369.7 kB / 483.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.004478, allocations: 9.594 kB / 483.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.004525, allocations: 4.156 kB / 483.7 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.004602, allocations: 111.5 kB / 483.9 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.004625, allocations: 6.594 kB / 483.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.004639, allocations: 1.594 kB / 483.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.004804, allocations: 65.34 kB / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.004814, allocations: 192 / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.004825, allocations: 384 / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.004836, allocations: 6.578 kB / 483.9 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.004889, allocations: 16.56 kB / 484 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.005214, allocations: 260.6 kB / 484.2 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.005457, allocations: 52.72 kB / 484.3 MB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.005489, allocations: 10.91 kB / 484.3 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.005592, allocations: 8.25 kB / 484.3 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005614, allocations: 43.09 kB / 484.3 MB, free: 9.727 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.003e-06/0.005616, allocations: 1.156 kB / 484.3 MB, free: 9.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001974/0.005813, allocations: 58.73 kB / 484.4 MB, free: 9.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.005837, allocations: 57.84 kB / 484.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.006101, allocations: 158.3 kB / 484.6 MB, free: 25.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.00611, allocations: 25.7 kB / 484.6 MB, free: 25.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.006173, allocations: 132.7 kB / 484.7 MB, free: 25.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.006192, allocations: 4.984 kB / 484.7 MB, free: 25.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.00624, allocations: 28.05 kB / 484.8 MB, free: 25.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.006387, allocations: 493.5 kB / 485.3 MB, free: 24.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.006415, allocations: 3.094 kB / 485.3 MB, free: 24.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.006435, allocations: 6.422 kB / 485.3 MB, free: 24.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.006484, allocations: 20.34 kB / 485.3 MB, free: 24.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.006486, allocations: 0 / 485.3 MB, free: 24.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.854e-05/0.006585, allocations: 48.45 kB / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.006603, allocations: 10.56 kB / 485.3 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.00661, allocations: 1.125 kB / 485.3 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.006628, allocations: 3.422 kB / 485.3 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.006702, allocations: 7.625 kB / 485.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.006708, allocations: 0 / 485.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.124e-05/0.00674, allocations: 6.484 kB / 485.4 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.006747, allocations: 2.375 kB / 485.4 MB, free: 24.7 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 8.7e-05/0.006834, allocations: 154.8 kB / 485.5 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.006864, allocations: 9.828 kB / 485.5 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.007009, allocations: 62.78 kB / 485.6 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.007012, allocations: 1.625 kB / 485.6 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.007017, allocations: 2.625 kB / 485.6 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.00702, allocations: 0 / 485.6 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.007143, allocations: 117.6 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.007145, allocations: 0 / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.007204, allocations: 11.58 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007206, allocations: 0 / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.007215, allocations: 5.203 kB / 485.7 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.007217, allocations: 3.938 kB / 485.7 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007219, allocations: 1.062 kB / 485.7 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.007365, allocations: 192.5 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.007373, allocations: 3.219 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.007387, allocations: 5.312 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.007456, allocations: 5.156 kB / 485.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.007517, allocations: 11.47 kB / 485.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.007523, allocations: 5 kB / 485.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.007579, allocations: 125 kB / 486.1 MB, free: 24.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007579, allocations: 2.625 kB / 486.1 MB, free: 24.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.007848, allocations: 10.42 kB / 486.1 MB, free: 24.01 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.0001521/0.008, allocations: 105 kB / 486.2 MB, free: 23.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.008109, allocations: 21.88 kB / 486.2 MB, free: 23.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.008111, allocations: 0 / 486.2 MB, free: 23.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.008151, allocations: 18.55 kB / 486.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.008408, allocations: 10.06 kB / 486.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.008703, allocations: 124.6 kB / 486.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.008737, allocations: 53.52 kB / 486.4 MB, free: 23.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.882e-05/0.008766, allocations: 7.203 kB / 486.4 MB, free: 23.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.008802, allocations: 13.81 kB / 486.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.008803, allocations: 1.125 kB / 486.4 MB, free: 23.68 MB / 426.7 MB Notification: Performance of Templates: time 0.003319/0.01212, allocations: 0.7608 MB / 487.2 MB, free: 23.62 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.617496741004288]