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.001089/0.001089, allocations: 88.22 kB / 20.42 MB, free: 4.137 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.001055/0.001055, allocations: 169 kB / 23.8 MB, free: 0.7617 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.9628/0.9628, allocations: 177.1 MB / 204.2 MB, free: 4.688 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.6046/0.6046, allocations: 115 MB / 375.7 MB, free: 7.492 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.833e-06/1.833e-06, allocations: 0 / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.034e-05/3.217e-05, allocations: 2.312 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.002837/0.00287, allocations: 1.575 MB / 483.1 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004132/0.003283, allocations: 128 kB / 483.2 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.003325, allocations: 0 / 483.2 MB, free: 10.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.003361, allocations: 3.938 kB / 483.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.003417, allocations: 3.938 kB / 483.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.003697, allocations: 25.89 kB / 483.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.003778, allocations: 31.84 kB / 483.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.003887, allocations: 9.453 kB / 483.3 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.003944, allocations: 15.78 kB / 483.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.003994, allocations: 16.44 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.004011, allocations: 2.656 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-05/0.004084, allocations: 11.09 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.004099, allocations: 11.45 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.004123, allocations: 9.172 kB / 483.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004261, allocations: 32.64 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.004265, allocations: 0 / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.004267, allocations: 0 / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.004273, allocations: 0 / 483.4 MB, free: 10.64 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.0003777/0.004651, allocations: 367.3 kB / 483.7 MB, free: 10.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.004699, allocations: 9.094 kB / 483.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.00475, allocations: 3.688 kB / 483.8 MB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.696e-05/0.004847, allocations: 122 kB / 483.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.004871, allocations: 2.625 kB / 483.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.004884, allocations: 3.906 kB / 483.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.005048, allocations: 58.83 kB / 483.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.005058, allocations: 1.25 kB / 483.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.00507, allocations: 1.969 kB / 483.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.005079, allocations: 1.5 kB / 483.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.005127, allocations: 18.16 kB / 484 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.005435, allocations: 258 kB / 484.2 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.005641, allocations: 48.45 kB / 484.3 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.005667, allocations: 13 kB / 484.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.185e-05/0.005759, allocations: 11.33 kB / 484.3 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.005778, allocations: 39.17 kB / 484.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.005779, allocations: 0 / 484.3 MB, free: 9.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001799/0.005959, allocations: 57.45 kB / 484.4 MB, free: 9.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.005984, allocations: 51.41 kB / 484.4 MB, free: 9.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.006042, allocations: 162.6 kB / 484.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.00605, allocations: 27.27 kB / 484.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.00608, allocations: 128.9 kB / 484.7 MB, free: 9.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.006098, allocations: 12.86 kB / 484.8 MB, free: 9.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.006132, allocations: 22.72 kB / 484.8 MB, free: 9.223 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003359/0.006467, allocations: 498.2 kB / 485.3 MB, free: 24.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.006494, allocations: 5.875 kB / 485.3 MB, free: 24.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.642e-05/0.00651, allocations: 2.938 kB / 485.3 MB, free: 24.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.006557, allocations: 23.69 kB / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006559, allocations: 1.344 kB / 485.3 MB, free: 24.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.09e-05/0.00665, allocations: 44.67 kB / 485.3 MB, free: 24.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.006667, allocations: 10.62 kB / 485.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.006673, allocations: 1.156 kB / 485.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.006692, allocations: 48 / 485.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.006756, allocations: 10.48 kB / 485.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.006761, allocations: 2.062 kB / 485.4 MB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.006788, allocations: 9.594 kB / 485.4 MB, free: 24.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.006795, allocations: 1.125 kB / 485.4 MB, free: 24.66 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 6.917e-05/0.006864, allocations: 154.9 kB / 485.5 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.006889, allocations: 10.05 kB / 485.5 MB, free: 24.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.006995, allocations: 55.09 kB / 485.6 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.006998, allocations: 3 kB / 485.6 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.007003, allocations: 4 kB / 485.6 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007005, allocations: 0 / 485.6 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.00711, allocations: 118.5 kB / 485.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007112, allocations: 0 / 485.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.007153, allocations: 10.19 kB / 485.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.007157, allocations: 1.156 kB / 485.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.007165, allocations: 4.562 kB / 485.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.007169, allocations: 6.75 kB / 485.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.00717, allocations: 0 / 485.7 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.007287, allocations: 195.5 kB / 485.9 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-06/0.007294, allocations: 2.312 kB / 485.9 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.007306, allocations: 1.312 kB / 485.9 MB, free: 24.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.073e-05/0.007357, allocations: 7.438 kB / 485.9 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.007402, allocations: 9.344 kB / 485.9 MB, free: 24.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.007407, allocations: 4.422 kB / 485.9 MB, free: 24.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.183e-05/0.007449, allocations: 122.4 kB / 486.1 MB, free: 23.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007449, allocations: 3.656 kB / 486.1 MB, free: 23.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.007673, allocations: 14.36 kB / 486.1 MB, free: 23.97 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.0001326/0.007805, allocations: 106.2 kB / 486.2 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.662e-05/0.007902, allocations: 29.62 kB / 486.2 MB, free: 23.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007904, allocations: 0 / 486.2 MB, free: 23.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.007933, allocations: 15.81 kB / 486.2 MB, free: 23.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.008244, allocations: 10.61 kB / 486.2 MB, free: 23.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.008506, allocations: 120.5 kB / 486.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.65e-05/0.008532, allocations: 53.61 kB / 486.4 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.012e-05/0.008562, allocations: 12.41 kB / 486.4 MB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.008586, allocations: 11.69 kB / 486.4 MB, free: 23.65 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008587, allocations: 0 / 486.4 MB, free: 23.65 MB / 426.7 MB Notification: Performance of Templates: time 0.002588/0.01118, allocations: 0.8023 MB / 487.2 MB, free: 23.58 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.611983940936625]