Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001023/0.001023, allocations: 96.09 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.001211/0.001211, allocations: 165 kB / 23.8 MB, free: 0.7734 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.05/1.05, 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.633/0.633, allocations: 115 MB / 375.7 MB, free: 7.652 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.594e-05, allocations: 6.062 kB / 481.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001254/0.00128, allocations: 0.6066 MB / 482.2 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.001505, allocations: 51.89 kB / 482.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.001521, allocations: 0 / 482.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.001538, allocations: 0.7812 kB / 482.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.272e-06/0.001544, allocations: 0 / 482.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.001779, allocations: 21.89 kB / 482.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.359e-05/0.001823, allocations: 2.188 kB / 482.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.001862, allocations: 6.922 kB / 482.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.001888, allocations: 0 / 482.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.907e-05/0.001907, allocations: 1.5 kB / 482.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.00192, allocations: 0 / 482.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.001999, allocations: 13.69 kB / 482.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.998e-06/0.002009, allocations: 0 / 482.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.002025, allocations: 9.609 kB / 482.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.002113, allocations: 11.39 kB / 482.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.002116, allocations: 3.5 kB / 482.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002117, allocations: 0 / 482.3 MB, free: 11.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.002121, allocations: 0 / 482.3 MB, free: 11.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001974/0.002319, allocations: 336.3 kB / 482.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.002357, allocations: 9.844 kB / 482.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.002393, allocations: 8.344 kB / 482.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.628e-05/0.002429, allocations: 106 kB / 482.7 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.002438, allocations: 384 / 482.7 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.002448, allocations: 4.375 kB / 482.7 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.002532, allocations: 34.17 kB / 482.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.00254, allocations: 0.75 kB / 482.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.002548, allocations: 1 kB / 482.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.002556, allocations: 3.797 kB / 482.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.002582, allocations: 10.22 kB / 482.8 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.724e-05/0.002669, allocations: 105 kB / 482.9 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.549e-05/0.002715, allocations: 33.19 kB / 482.9 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.002731, allocations: 13.44 kB / 482.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.002859, allocations: 4.938 kB / 482.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.002874, allocations: 41.23 kB / 483 MB, free: 10.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.002875, allocations: 0 / 483 MB, free: 10.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001223/0.002997, allocations: 46.02 kB / 483 MB, free: 10.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.003015, allocations: 51.41 kB / 483.1 MB, free: 10.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.015e-05/0.003035, allocations: 143.2 kB / 483.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-06/0.00304, allocations: 25.7 kB / 483.2 MB, free: 10.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.003241, allocations: 128.4 kB / 483.4 MB, free: 26.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.003259, allocations: 2.625 kB / 483.4 MB, free: 26.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.003284, allocations: 24.11 kB / 483.4 MB, free: 26.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.003379, allocations: 0.4922 MB / 483.9 MB, free: 25.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.003391, allocations: 2.031 kB / 483.9 MB, free: 25.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.003398, allocations: 3.5 kB / 483.9 MB, free: 25.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.003429, allocations: 17.22 kB / 483.9 MB, free: 25.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.003432, allocations: 2.469 kB / 483.9 MB, free: 25.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.403e-05/0.003486, allocations: 36.42 kB / 483.9 MB, free: 25.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.003498, allocations: 5.719 kB / 483.9 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.003503, allocations: 0 / 483.9 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.003515, allocations: 1.312 kB / 484 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.296e-05/0.003568, allocations: 3.719 kB / 484 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.003574, allocations: 3.375 kB / 484 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.003584, allocations: 7.438 kB / 484 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.003588, allocations: 1.312 kB / 484 MB, free: 25.62 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.434e-05/0.003643, allocations: 156.6 kB / 484.1 MB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.003648, allocations: 5.688 kB / 484.1 MB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.003723, allocations: 43.59 kB / 484.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.003725, allocations: 4.312 kB / 484.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.003729, allocations: 0 / 484.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.003732, allocations: 0 / 484.2 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.723e-05/0.003769, allocations: 117.6 kB / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.003771, allocations: 5.594 kB / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.003784, allocations: 2.531 kB / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.003786, allocations: 0 / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.003791, allocations: 0.75 kB / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.003792, allocations: 1.594 kB / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.003793, allocations: 0 / 484.3 MB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.65e-05/0.003839, allocations: 84.36 kB / 484.4 MB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-06/0.003844, allocations: 4.656 kB / 484.4 MB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.003853, allocations: 1.031 kB / 484.4 MB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.539e-06/0.003858, allocations: 0 / 484.4 MB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.003885, allocations: 6.094 kB / 484.4 MB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.003886, allocations: 1.281 kB / 484.4 MB, free: 25.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.08e-05/0.003917, allocations: 120 kB / 484.5 MB, free: 25.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003917, allocations: 0 / 484.5 MB, free: 25.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001267/0.004044, allocations: 6.844 kB / 484.5 MB, free: 25.05 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001053/0.004149, allocations: 103.4 kB / 484.6 MB, free: 24.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.875e-05/0.004218, allocations: 24.2 kB / 484.6 MB, free: 24.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.004219, allocations: 0 / 484.6 MB, free: 24.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.004231, allocations: 16.59 kB / 484.7 MB, free: 24.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.474e-05/0.004326, allocations: 3.5 kB / 484.7 MB, free: 24.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.004496, allocations: 87.06 kB / 484.7 MB, free: 24.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.935e-05/0.004516, allocations: 53.8 kB / 484.8 MB, free: 24.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.899e-06/0.004525, allocations: 1.156 kB / 484.8 MB, free: 24.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.004543, allocations: 10.03 kB / 484.8 MB, free: 24.74 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.004544, allocations: 0 / 484.8 MB, free: 24.74 MB / 426.7 MB Notification: Performance of Templates: time 0.001942/0.006487, allocations: 351 kB / 485.2 MB, free: 24.69 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7102482612244785]