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.001025/0.001025, allocations: 81.95 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.001121/0.001121, allocations: 168.8 kB / 24.84 MB, free: 9.297 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.031/1.031, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.6792/0.6792, 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.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.453e-06/1.453e-06, allocations: 0.5469 kB / 482.8 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.724e-05, allocations: 5.594 kB / 482.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.00104/0.001057, allocations: 0.6039 MB / 483.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002036/0.00126, allocations: 47.27 kB / 483.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.001277, allocations: 1.75 kB / 483.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.001293, allocations: 0 / 483.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.0013, allocations: 4.5 kB / 483.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.001527, allocations: 8.625 kB / 483.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.378e-05/0.001571, allocations: 5.031 kB / 483.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.00162, allocations: 7.531 kB / 483.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.001649, allocations: 5.547 kB / 483.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.001667, allocations: 1.25 kB / 483.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.001679, allocations: 0.7812 kB / 483.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.358e-05/0.001762, allocations: 7.766 kB / 483.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.001771, allocations: 0 / 483.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.094e-05/0.001782, allocations: 7.688 kB / 483.5 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.001857, allocations: 9.797 kB / 483.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.001859, allocations: 0.875 kB / 483.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001859, allocations: 0.7812 kB / 483.5 MB, free: 11.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.001863, allocations: 0 / 483.5 MB, free: 11.37 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.000358/0.002221, allocations: 346.5 kB / 483.9 MB, free: 27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.002255, allocations: 9.375 kB / 483.9 MB, free: 27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.002281, allocations: 3.094 kB / 483.9 MB, free: 27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.336e-05/0.002325, allocations: 105.9 kB / 484 MB, free: 26.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.002334, allocations: 4.938 kB / 484 MB, free: 26.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.00234, allocations: 5.422 kB / 484 MB, free: 26.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.75e-05/0.002408, allocations: 37.69 kB / 484 MB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.002415, allocations: 1 kB / 484 MB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.002421, allocations: 1 kB / 484 MB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.002427, allocations: 3.375 kB / 484 MB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.507e-05/0.002442, allocations: 4.625 kB / 484 MB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.371e-05/0.002516, allocations: 97.55 kB / 484.1 MB, free: 26.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.58e-05/0.002552, allocations: 30.48 kB / 484.2 MB, free: 26.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.044e-05/0.002562, allocations: 11.5 kB / 484.2 MB, free: 26.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.353e-05/0.002656, allocations: 7.094 kB / 484.2 MB, free: 26.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.002674, allocations: 35.05 kB / 484.2 MB, free: 26.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.002675, allocations: 0.75 kB / 484.2 MB, free: 26.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 9.168e-05/0.002767, allocations: 45.55 kB / 484.3 MB, free: 26.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/0.002785, allocations: 54.94 kB / 484.3 MB, free: 26.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.216e-05/0.002827, allocations: 142.2 kB / 484.4 MB, free: 26.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-06/0.002833, allocations: 25.7 kB / 484.5 MB, free: 26.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.002865, allocations: 127.9 kB / 484.6 MB, free: 26.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.002882, allocations: 5.422 kB / 484.6 MB, free: 26.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.002903, allocations: 22.83 kB / 484.6 MB, free: 26.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.003022, allocations: 496.9 kB / 485.1 MB, free: 25.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.003029, allocations: 3 kB / 485.1 MB, free: 25.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-06/0.003035, allocations: 5.375 kB / 485.1 MB, free: 25.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.003061, allocations: 19.38 kB / 485.1 MB, free: 25.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.003063, allocations: 4 kB / 485.1 MB, free: 25.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.971e-05/0.003102, allocations: 37.17 kB / 485.2 MB, free: 25.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.003112, allocations: 6 kB / 485.2 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.003115, allocations: 0.5938 kB / 485.2 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.003124, allocations: 2.5 kB / 485.2 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.893e-05/0.003163, allocations: 4.25 kB / 485.2 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.003167, allocations: 4.25 kB / 485.2 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-06/0.003175, allocations: 0 / 485.2 MB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-06/0.003177, allocations: 3.984 kB / 485.2 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.629e-05/0.003234, allocations: 163 kB / 485.4 MB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.003239, allocations: 1.031 kB / 485.4 MB, free: 25.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.003291, allocations: 43.78 kB / 485.4 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.003292, allocations: 3.938 kB / 485.4 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.003295, allocations: 1.25 kB / 485.4 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.003297, allocations: 0 / 485.4 MB, free: 25.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.346e-05/0.003341, allocations: 101.3 kB / 485.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.003341, allocations: 0 / 485.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.003351, allocations: 6.094 kB / 485.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.003352, allocations: 2.125 kB / 485.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-06/0.003355, allocations: 0.9375 kB / 485.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.003356, allocations: 0 / 485.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.003356, allocations: 1.781 kB / 485.5 MB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.808e-05/0.003405, allocations: 86.06 kB / 485.6 MB, free: 25.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.00341, allocations: 5.75 kB / 485.6 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-06/0.003418, allocations: 0 / 485.6 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-06/0.003422, allocations: 1.031 kB / 485.6 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.003444, allocations: 5.047 kB / 485.6 MB, free: 25.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.003446, allocations: 1.75 kB / 485.6 MB, free: 25.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.97e-05/0.003476, allocations: 120.2 kB / 485.7 MB, free: 25.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003476, allocations: 0 / 485.7 MB, free: 25.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.003601, allocations: 4.438 kB / 485.7 MB, free: 25.07 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 9.148e-05/0.003692, allocations: 104.9 kB / 485.8 MB, free: 24.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.747e-05/0.00375, allocations: 22.86 kB / 485.9 MB, free: 24.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.003751, allocations: 0.9375 kB / 485.9 MB, free: 24.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.464e-05/0.003766, allocations: 11.72 kB / 485.9 MB, free: 24.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.983e-05/0.003855, allocations: 4.906 kB / 485.9 MB, free: 24.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.003988, allocations: 85.34 kB / 486 MB, free: 24.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.72e-05/0.004005, allocations: 52.42 kB / 486 MB, free: 24.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.175e-05/0.004017, allocations: 7.219 kB / 486 MB, free: 24.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.004045, allocations: 75.5 kB / 486.1 MB, free: 24.71 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.004046, allocations: 0 / 486.1 MB, free: 24.71 MB / 426.7 MB Notification: Performance of Templates: time 0.001688/0.005734, allocations: 368.8 kB / 486.5 MB, free: 24.66 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.594656257890165]