Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.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.0009535/0.0009535, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00266/0.003613, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001708/0.001708, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00142/0.003128, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9432/0.9432, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1328/1.076, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 222.1 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001759/0.003814, allocations: 483.6 kB / 244.8 MB, free: 14.06 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7166/0.7166, allocations: 138.7 MB / 384.3 MB, free: 336 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07106/0.7877, allocations: 42.39 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 428.1 MB, free: 4.414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.175e-05, allocations: 14.25 kB / 428.1 MB, free: 4.398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001786/0.001807, allocations: 0.6508 MB / 428.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.001957, allocations: 59.8 kB / 428.8 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.001973, allocations: 0 / 428.8 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.001992, allocations: 0 / 428.8 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.392e-06/0.001994, allocations: 0 / 428.8 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.002183, allocations: 19.86 kB / 428.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.002287, allocations: 35.95 kB / 428.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.002331, allocations: 4 kB / 428.9 MB, free: 3.629 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.002378, allocations: 19.97 kB / 428.9 MB, free: 3.609 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.002411, allocations: 8 kB / 428.9 MB, free: 3.602 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.002429, allocations: 3.938 kB / 428.9 MB, free: 3.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.00256, allocations: 23.95 kB / 428.9 MB, free: 3.574 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.002592, allocations: 8 kB / 429 MB, free: 3.566 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.002618, allocations: 4 kB / 429 MB, free: 3.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.002729, allocations: 31.91 kB / 429 MB, free: 3.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.002741, allocations: 0 / 429 MB, free: 3.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.002741, allocations: 0 / 429 MB, free: 3.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.002754, allocations: 0 / 429 MB, free: 3.531 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003293/0.003083, allocations: 244.6 kB / 429.2 MB, free: 3.266 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.003119, allocations: 23.92 kB / 429.2 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.003155, allocations: 4.938 kB / 429.3 MB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.057e-05/0.003226, allocations: 105.7 kB / 429.4 MB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.00324, allocations: 8.375 kB / 429.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.003253, allocations: 384 / 429.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.003361, allocations: 54.22 kB / 429.4 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.003369, allocations: 192 / 429.4 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.003376, allocations: 384 / 429.4 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.003384, allocations: 8.312 kB / 429.4 MB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.003489, allocations: 75.75 kB / 429.5 MB, free: 2.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.003601, allocations: 71.83 kB / 429.6 MB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.003679, allocations: 50.55 kB / 429.6 MB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.003706, allocations: 12.86 kB / 429.6 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.003866, allocations: 23.97 kB / 429.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.003892, allocations: 38.56 kB / 429.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.003894, allocations: 0 / 429.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001582/0.004052, allocations: 77.88 kB / 429.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.004079, allocations: 51.41 kB / 429.8 MB, free: 2.586 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/0.004118, allocations: 89.86 kB / 429.9 MB, free: 2.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.004133, allocations: 29.7 kB / 429.9 MB, free: 2.453 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.004159, allocations: 84.12 kB / 430 MB, free: 2.367 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.004201, allocations: 31.78 kB / 430.1 MB, free: 2.336 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.004243, allocations: 25.7 kB / 430.1 MB, free: 2.305 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.004344, allocations: 322.8 kB / 430.4 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.004363, allocations: 8 kB / 430.4 MB, free: 1.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.004381, allocations: 8.422 kB / 430.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.004458, allocations: 35.83 kB / 430.4 MB, free: 1.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004459, allocations: 0 / 430.4 MB, free: 1.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.746e-05/0.004557, allocations: 69.55 kB / 430.5 MB, free: 1.852 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.004571, allocations: 4 kB / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.004576, allocations: 0 / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.004591, allocations: 0 / 430.5 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.0047, allocations: 27.98 kB / 430.5 MB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004705, allocations: 3.984 kB / 430.5 MB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.004727, allocations: 3.953 kB / 430.5 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.004737, allocations: 7.984 kB / 430.6 MB, free: 1.805 MB / 410.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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.755e-05/0.004835, allocations: 128.5 kB / 430.7 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.004852, allocations: 8 kB / 430.7 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.005006, allocations: 89.53 kB / 430.8 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005008, allocations: 0 / 430.8 MB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.00501, allocations: 4 kB / 430.8 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.005013, allocations: 0 / 430.8 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.741e-05/0.0051, allocations: 85.78 kB / 430.9 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005102, allocations: 0 / 430.9 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.005176, allocations: 27.92 kB / 430.9 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.005187, allocations: 15.86 kB / 430.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.005189, allocations: 0 / 430.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.005196, allocations: 3.984 kB / 430.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.005198, allocations: 0 / 430.9 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.005199, allocations: 4 kB / 430.9 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.005304, allocations: 93.03 kB / 431 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.005315, allocations: 4 kB / 431 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.005329, allocations: 0 / 431 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.005357, allocations: 7.984 kB / 431 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.005365, allocations: 7.984 kB / 431 MB, free: 1.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.965e-06/0.005373, allocations: 4.859 kB / 431 MB, free: 1.277 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.005373, allocations: 0 / 431 MB, free: 1.277 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.005554, allocations: 12 kB / 431 MB, free: 1.266 MB / 410.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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001542/0.005708, allocations: 96.34 kB / 431.1 MB, free: 1.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.005808, allocations: 44.72 kB / 431.2 MB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.005812, allocations: 4 kB / 431.2 MB, free: 1.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/0.005853, allocations: 37.44 kB / 431.2 MB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.689e-05/0.00592, allocations: 4.328 kB / 431.2 MB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.006157, allocations: 137.9 kB / 431.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.411e-05/0.006201, allocations: 71.3 kB / 431.4 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.026e-05/0.006241, allocations: 11.98 kB / 431.4 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.006293, allocations: 63.36 kB / 431.5 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006294, allocations: 0 / 431.5 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of Templates: time 0.002768/0.009062, allocations: 0.704 MB / 432.2 MB, free: 36 kB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3495963299646974]