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.001383/0.001383, 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.001165/0.001165, allocations: 181 kB / 23.36 MB, free: 1.129 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.051/1.051, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.002679/0.002679, allocations: 246.3 kB / 260.5 MB, free: 12.68 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.7605/0.7605, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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.192e-06/1.192e-06, allocations: 0 / 462.4 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.532e-05, allocations: 3.297 kB / 462.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Factorial): time 0.001458/0.001473, allocations: 0.6523 MB / 463.1 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002486/0.001722, allocations: 47.61 kB / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.00174, allocations: 0 / 463.1 MB, free: 484 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.001755, allocations: 4.5 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.294e-06/0.001762, allocations: 1.438 kB / 463.1 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.002001, allocations: 9.844 kB / 463.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.002048, allocations: 4.891 kB / 463.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.00209, allocations: 2.516 kB / 463.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.002126, allocations: 6.219 kB / 463.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.002146, allocations: 1.156 kB / 463.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.00216, allocations: 2.391 kB / 463.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.002264, allocations: 8.578 kB / 463.2 MB, free: 472 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.002276, allocations: 4.734 kB / 463.2 MB, free: 468 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.208e-05/0.002288, allocations: 2.281 kB / 463.2 MB, free: 468 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.491e-05/0.002373, allocations: 13.05 kB / 463.2 MB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002375, allocations: 0 / 463.2 MB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.002376, allocations: 0.5938 kB / 463.2 MB, free: 464 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.002381, allocations: 4.75 kB / 463.2 MB, free: 460 kB / 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.0001884/0.00257, allocations: 215.5 kB / 463.4 MB, free: 228 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.002608, allocations: 10.38 kB / 463.4 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.002634, allocations: 3.234 kB / 463.4 MB, free: 228 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.811e-05/0.002682, allocations: 107.5 kB / 463.5 MB, free: 96 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.002694, allocations: 8.484 kB / 463.5 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.002701, allocations: 2.406 kB / 463.5 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.012e-05/0.002771, allocations: 32.97 kB / 463.5 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.002779, allocations: 1.125 kB / 463.5 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.002785, allocations: 384 / 463.5 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.002793, allocations: 1.844 kB / 463.5 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.002818, allocations: 8.547 kB / 463.6 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.002931, allocations: 57.02 kB / 463.6 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.002989, allocations: 25.58 kB / 463.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.003002, allocations: 7.516 kB / 463.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.003119, allocations: 11.52 kB / 463.7 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.003145, allocations: 33.66 kB / 463.7 MB, free: 15.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.003145, allocations: 0 / 463.7 MB, free: 15.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.000107/0.003252, allocations: 38.2 kB / 463.7 MB, free: 15.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.003286, allocations: 54.42 kB / 463.8 MB, free: 15.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.865e-05/0.003325, allocations: 91.11 kB / 463.9 MB, free: 15.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.003337, allocations: 27.7 kB / 463.9 MB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.003361, allocations: 80.14 kB / 464 MB, free: 15.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.00338, allocations: 4.484 kB / 464 MB, free: 15.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.003407, allocations: 18.62 kB / 464 MB, free: 15.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.003556, allocations: 316.4 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.003595, allocations: 4.547 kB / 464.3 MB, free: 15.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.003608, allocations: 5.219 kB / 464.3 MB, free: 15.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.041e-05/0.003668, allocations: 13.25 kB / 464.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.003672, allocations: 1.094 kB / 464.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.112e-05/0.003753, allocations: 38.92 kB / 464.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.00377, allocations: 5.188 kB / 464.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.003778, allocations: 2.641 kB / 464.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.003794, allocations: 1.531 kB / 464.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.003871, allocations: 3.328 kB / 464.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.003876, allocations: 1.125 kB / 464.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.003892, allocations: 0.5625 kB / 464.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.003898, allocations: 2.453 kB / 464.4 MB, free: 15.22 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 7.397e-05/0.003972, allocations: 112.3 kB / 464.5 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.003979, allocations: 1.781 kB / 464.5 MB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.867e-05/0.004078, allocations: 48.55 kB / 464.5 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.004081, allocations: 0 / 464.5 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.004084, allocations: 1.531 kB / 464.5 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.004087, allocations: 5.703 kB / 464.6 MB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.792e-05/0.004155, allocations: 66.69 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.004157, allocations: 2.625 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.577e-05/0.004173, allocations: 3.266 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.004175, allocations: 0.6094 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.004179, allocations: 2.641 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.004181, allocations: 0.5156 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.004183, allocations: 1.781 kB / 464.6 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.49e-05/0.004248, allocations: 62.03 kB / 464.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.004256, allocations: 4.984 kB / 464.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.004264, allocations: 2.062 kB / 464.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-06/0.004273, allocations: 2.344 kB / 464.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.0043, allocations: 3.562 kB / 464.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.004303, allocations: 1.969 kB / 464.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.016e-06/0.004311, allocations: 5.859 kB / 464.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004311, allocations: 0 / 464.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.004427, allocations: 16.12 kB / 464.7 MB, free: 14.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,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.0001471/0.004574, allocations: 87.42 kB / 464.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.184e-05/0.004636, allocations: 12.23 kB / 464.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.004639, allocations: 1.812 kB / 464.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.004653, allocations: 10.45 kB / 464.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.915e-05/0.004712, allocations: 5.312 kB / 464.8 MB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.004893, allocations: 86.89 kB / 464.9 MB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.156e-05/0.004925, allocations: 54.91 kB / 465 MB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.435e-05/0.004939, allocations: 2.5 kB / 465 MB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.004974, allocations: 55.08 kB / 465 MB, free: 14.59 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.004974, allocations: 2.344 kB / 465 MB, free: 14.59 MB / 426.7 MB Notification: Performance of Templates: time 0.002273/0.007247, allocations: 386.5 kB / 465.4 MB, free: 14.55 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.514128690585494]