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.001175/0.001175, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001056/0.001056, allocations: 165.3 kB / 24.84 MB, free: 9.254 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.9968/0.9968, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.6651/0.6651, allocations: 115 MB / 376.8 MB, free: 7.512 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.563e-06/1.563e-06, allocations: 0 / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.588e-05, allocations: 2.859 kB / 482.8 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.001809/0.001824, allocations: 1.561 MB / 484.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002649/0.002089, allocations: 125.7 kB / 484.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.002123, allocations: 0.625 kB / 484.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.002148, allocations: 7.359 kB / 484.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.00219, allocations: 3.594 kB / 484.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.002421, allocations: 25.23 kB / 484.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.002482, allocations: 30.75 kB / 484.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.002561, allocations: 11.05 kB / 484.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.002611, allocations: 19.28 kB / 484.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.002656, allocations: 11.73 kB / 484.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.002672, allocations: 3.25 kB / 484.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.002749, allocations: 13.47 kB / 484.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.002766, allocations: 5.078 kB / 484.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.002783, allocations: 14.22 kB / 484.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.281e-05/0.002875, allocations: 28.33 kB / 484.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002877, allocations: 0 / 484.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.002878, allocations: 1.125 kB / 484.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.002882, allocations: 0.75 kB / 484.6 MB, free: 10.51 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.0002793/0.003161, allocations: 365.2 kB / 485 MB, free: 10.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.003194, allocations: 10.25 kB / 485 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.003221, allocations: 2.938 kB / 485 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.056e-05/0.003281, allocations: 124.7 kB / 485.1 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.003299, allocations: 1.5 kB / 485.1 MB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.003307, allocations: 5.516 kB / 485.1 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.477e-05/0.003402, allocations: 60.56 kB / 485.2 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.003409, allocations: 0.8125 kB / 485.2 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.003417, allocations: 2.844 kB / 485.2 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003421, allocations: 384 / 485.2 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.452e-05/0.003446, allocations: 16.81 kB / 485.2 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.003645, allocations: 246.8 kB / 485.4 MB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.003774, allocations: 45.34 kB / 485.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.003791, allocations: 15.34 kB / 485.5 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-05/0.003846, allocations: 8.344 kB / 485.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.00386, allocations: 38.23 kB / 485.5 MB, free: 9.578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.61e-07/0.00386, allocations: 1.844 kB / 485.6 MB, free: 9.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000119/0.003979, allocations: 58.3 kB / 485.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.663e-05/0.003996, allocations: 52.31 kB / 485.7 MB, free: 9.473 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.00418, allocations: 158.5 kB / 485.8 MB, free: 25.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.004188, allocations: 29.03 kB / 485.8 MB, free: 25.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.004228, allocations: 133.6 kB / 486 MB, free: 25.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.004242, allocations: 5.047 kB / 486 MB, free: 25.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.004265, allocations: 23.95 kB / 486 MB, free: 25.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.00437, allocations: 497.5 kB / 486.5 MB, free: 24.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.004382, allocations: 2.688 kB / 486.5 MB, free: 24.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/0.004393, allocations: 2.875 kB / 486.5 MB, free: 24.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.00442, allocations: 22.3 kB / 486.5 MB, free: 24.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004421, allocations: 0 / 486.5 MB, free: 24.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.135e-05/0.004473, allocations: 44.38 kB / 486.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.004484, allocations: 8.188 kB / 486.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.004488, allocations: 2.062 kB / 486.6 MB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.004496, allocations: 5.469 kB / 486.6 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.305e-05/0.004539, allocations: 9.391 kB / 486.6 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-06/0.004541, allocations: 0 / 486.6 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.004561, allocations: 2.562 kB / 486.6 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.004566, allocations: 2.188 kB / 486.6 MB, free: 24.56 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.786e-05/0.004624, allocations: 157.9 kB / 486.7 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.004641, allocations: 11.75 kB / 486.8 MB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.974e-05/0.004711, allocations: 57.78 kB / 486.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.004713, allocations: 3.938 kB / 486.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.004715, allocations: 0 / 486.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.004717, allocations: 2.219 kB / 486.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.764e-05/0.004795, allocations: 100.7 kB / 486.9 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004796, allocations: 1.812 kB / 486.9 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.004823, allocations: 7.625 kB / 486.9 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.004824, allocations: 3.938 kB / 486.9 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.00483, allocations: 5.312 kB / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004831, allocations: 0 / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004831, allocations: 1.031 kB / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.107e-05/0.004923, allocations: 192.6 kB / 487.1 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.004929, allocations: 5 kB / 487.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.004938, allocations: 2.531 kB / 487.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.004973, allocations: 10.06 kB / 487.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.005017, allocations: 13.44 kB / 487.2 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.005021, allocations: 1.094 kB / 487.2 MB, free: 24.01 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.005057, allocations: 123.3 kB / 487.3 MB, free: 23.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005058, allocations: 0 / 487.3 MB, free: 23.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.005204, allocations: 11.64 kB / 487.3 MB, free: 23.89 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 9.633e-05/0.0053, allocations: 107.2 kB / 487.4 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.957e-05/0.00538, allocations: 21.08 kB / 487.4 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.005382, allocations: 1.312 kB / 487.4 MB, free: 23.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.005406, allocations: 18.28 kB / 487.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.005569, allocations: 12.8 kB / 487.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.005755, allocations: 117.7 kB / 487.6 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.282e-05/0.005778, allocations: 58 kB / 487.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.93e-05/0.005797, allocations: 8.203 kB / 487.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.005841, allocations: 75.77 kB / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005842, allocations: 0 / 487.7 MB, free: 23.5 MB / 426.7 MB Notification: Performance of Templates: time 0.002213/0.008055, allocations: 0.837 MB / 488.5 MB, free: 23.43 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.5755029250867665]