Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000958/0.000958, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001017/0.001017, allocations: 181 kB / 23.36 MB, free: 1.133 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.9964/0.9964, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001586/0.001586, allocations: 249.8 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7028/0.7028, allocations: 138.4 MB / 402.2 MB, free: 0.5195 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.219e-05, allocations: 3.734 kB / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Factorial): time 0.001011/0.001023, allocations: 0.6116 MB / 463 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001897/0.001213, allocations: 50.3 kB / 463 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.001226, allocations: 1.172 kB / 463 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.001239, allocations: 1.219 kB / 463 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.543e-06/0.001245, allocations: 0.625 kB / 463 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.00144, allocations: 16.38 kB / 463 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.643e-05/0.001476, allocations: 6.688 kB / 463.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.001508, allocations: 2.797 kB / 463.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.001533, allocations: 1.953 kB / 463.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.656e-05/0.001549, allocations: 3.812 kB / 463.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.001559, allocations: 1.281 kB / 463.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.001626, allocations: 11.17 kB / 463.1 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.001636, allocations: 1.906 kB / 463.1 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.007e-05/0.001646, allocations: 6.375 kB / 463.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.461e-05/0.001711, allocations: 6.531 kB / 463.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.001712, allocations: 0.8438 kB / 463.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.001713, allocations: 0 / 463.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.001716, allocations: 2.812 kB / 463.1 MB, free: 0.5 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.0001517/0.001868, allocations: 221.5 kB / 463.3 MB, free: 272 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.0019, allocations: 11 kB / 463.3 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.923e-05/0.001919, allocations: 2.781 kB / 463.3 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.199e-05/0.001951, allocations: 104.3 kB / 463.4 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.00196, allocations: 2.406 kB / 463.4 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.001969, allocations: 1.5 kB / 463.4 MB, free: 144 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.493e-05/0.002024, allocations: 37 kB / 463.5 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.00203, allocations: 192 / 463.5 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.002034, allocations: 1.438 kB / 463.5 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.00204, allocations: 384 / 463.5 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.002057, allocations: 11.12 kB / 463.5 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.987e-05/0.002117, allocations: 57.19 kB / 463.5 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.145e-05/0.002148, allocations: 22.41 kB / 463.6 MB, free: 12 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.017e-05/0.002158, allocations: 10.2 kB / 463.6 MB, free: 0 / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.455e-05/0.002243, allocations: 8.203 kB / 463.6 MB, free: 0 / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.002278, allocations: 32.7 kB / 463.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.002279, allocations: 3.938 kB / 463.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 7.86e-05/0.002357, allocations: 35.61 kB / 463.6 MB, free: 15.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.002386, allocations: 53.19 kB / 463.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.867e-05/0.002414, allocations: 91.3 kB / 463.8 MB, free: 15.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.002422, allocations: 27.58 kB / 463.8 MB, free: 15.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.802e-05/0.00244, allocations: 80.7 kB / 463.9 MB, free: 15.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.002454, allocations: 4.688 kB / 463.9 MB, free: 15.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.002475, allocations: 21.86 kB / 463.9 MB, free: 15.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.002547, allocations: 317.5 kB / 464.2 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.002553, allocations: 1.969 kB / 464.2 MB, free: 15.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.002558, allocations: 4.031 kB / 464.2 MB, free: 15.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.002584, allocations: 14.12 kB / 464.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.002586, allocations: 1.109 kB / 464.2 MB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.071e-05/0.002617, allocations: 36.12 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.587e-06/0.002625, allocations: 5.344 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.002628, allocations: 0 / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.002638, allocations: 3.281 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.002672, allocations: 4.516 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.002674, allocations: 0.5938 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-06/0.002682, allocations: 1.656 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.002685, allocations: 1.672 kB / 464.3 MB, free: 15.27 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 4.619e-05/0.002731, allocations: 112.2 kB / 464.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-06/0.002735, allocations: 3.109 kB / 464.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.002795, allocations: 45.33 kB / 464.5 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.002796, allocations: 1.406 kB / 464.5 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.002798, allocations: 0.75 kB / 464.5 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.0028, allocations: 2.516 kB / 464.5 MB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.398e-05/0.002844, allocations: 64.8 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.002845, allocations: 2.188 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/0.002855, allocations: 4.953 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.002856, allocations: 0.875 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-06/0.002859, allocations: 1.875 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.002861, allocations: 1.812 kB / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.002861, allocations: 0 / 464.5 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.58e-05/0.002907, allocations: 69.75 kB / 464.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.002911, allocations: 5.891 kB / 464.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-06/0.002917, allocations: 1.125 kB / 464.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.781e-06/0.002923, allocations: 3.688 kB / 464.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.002941, allocations: 4.141 kB / 464.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.002943, allocations: 4 kB / 464.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.412e-06/0.002949, allocations: 5.953 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002949, allocations: 0.7656 kB / 464.6 MB, free: 14.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.469e-05/0.003044, allocations: 8.984 kB / 464.6 MB, free: 14.95 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 8.992e-05/0.003134, allocations: 81.73 kB / 464.7 MB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.427e-05/0.003178, allocations: 15.41 kB / 464.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.00318, allocations: 0.875 kB / 464.7 MB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.003191, allocations: 13.7 kB / 464.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.984e-05/0.003231, allocations: 5.734 kB / 464.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001269/0.003358, allocations: 85.83 kB / 464.8 MB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.583e-05/0.003383, allocations: 55.52 kB / 464.9 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.049e-05/0.003394, allocations: 2.453 kB / 464.9 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.00342, allocations: 52.77 kB / 464.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.00342, allocations: 0 / 464.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of Templates: time 0.001689/0.005109, allocations: 386.2 kB / 465.3 MB, free: 14.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3998070559464395]