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.002307/0.002307, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002752/0.002752, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.003214/0.003214, allocations: 238.6 kB / 259.8 MB, free: 12.86 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 1.227/1.227, allocations: 138.4 MB / 454.7 MB, free: 1.504 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.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 2.064e-06/2.064e-06, allocations: 3.938 kB / 0.5544 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.225e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001759/0.001792, allocations: 0.5996 MB / 0.555 GB, free: 220 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002601/0.002052, allocations: 55.8 kB / 0.555 GB, free: 164 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.002071, allocations: 0 / 0.555 GB, free: 164 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.002115, allocations: 0 / 0.555 GB, free: 164 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.002121, allocations: 0 / 0.555 GB, free: 164 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.002402, allocations: 15.86 kB / 0.555 GB, free: 148 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.973e-05/0.002482, allocations: 31.97 kB / 0.5551 GB, free: 116 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.002514, allocations: 11.98 kB / 0.5551 GB, free: 104 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.002556, allocations: 15.98 kB / 0.5551 GB, free: 88 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.648e-05/0.002583, allocations: 11.92 kB / 0.5551 GB, free: 76 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.002597, allocations: 0 / 0.5551 GB, free: 76 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.002695, allocations: 23.97 kB / 0.5551 GB, free: 52 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.002722, allocations: 7.984 kB / 0.5551 GB, free: 44 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.002751, allocations: 11.98 kB / 0.5552 GB, free: 32 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.002886, allocations: 43.97 kB / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.002889, allocations: 0 / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.002889, allocations: 0 / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.002894, allocations: 0 / 0.5552 GB, free: 15.98 MB / 490.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.0004323/0.003326, allocations: 364.2 kB / 0.5555 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.003365, allocations: 12.75 kB / 0.5556 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.003414, allocations: 8.938 kB / 0.5556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.003514, allocations: 108.6 kB / 0.5557 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.003528, allocations: 4.375 kB / 0.5557 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.003544, allocations: 8.375 kB / 0.5557 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.003675, allocations: 54.22 kB / 0.5557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.003684, allocations: 192 / 0.5557 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.003695, allocations: 4.375 kB / 0.5557 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.003701, allocations: 4.375 kB / 0.5557 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.003859, allocations: 91.81 kB / 0.5558 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.004051, allocations: 132.5 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.004188, allocations: 63.03 kB / 0.556 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.00424, allocations: 27.69 kB / 0.556 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.004405, allocations: 19.97 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.004442, allocations: 37.39 kB / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.004443, allocations: 0 / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002681/0.004711, allocations: 105.8 kB / 0.5562 GB, free: 14.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.004755, allocations: 51.41 kB / 0.5562 GB, free: 14.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.004854, allocations: 154.2 kB / 0.5564 GB, free: 14.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.004875, allocations: 25.7 kB / 0.5564 GB, free: 14.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.004942, allocations: 134.8 kB / 0.5565 GB, free: 14.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.004981, allocations: 27.81 kB / 0.5566 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.005042, allocations: 39.38 kB / 0.5566 GB, free: 14.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002627/0.005305, allocations: 0.4884 MB / 0.5571 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.675e-05/0.005341, allocations: 15.98 kB / 0.5571 GB, free: 13.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.005368, allocations: 8 kB / 0.5571 GB, free: 13.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.134e-05/0.00546, allocations: 47.67 kB / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005461, allocations: 0 / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000151/0.005612, allocations: 89.52 kB / 0.5572 GB, free: 13.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.005625, allocations: 4 kB / 0.5572 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.005631, allocations: 7.984 kB / 0.5572 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.005643, allocations: 0 / 0.5572 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.005745, allocations: 16 kB / 0.5573 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.00575, allocations: 0 / 0.5573 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.005778, allocations: 11.94 kB / 0.5573 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.005788, allocations: 3.984 kB / 0.5573 GB, free: 13.64 MB / 490.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 0.0001311/0.005919, allocations: 172.5 kB / 0.5574 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.005937, allocations: 7.953 kB / 0.5575 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.006171, allocations: 113.5 kB / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.006173, allocations: 4 kB / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.006175, allocations: 0 / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.006181, allocations: 7.938 kB / 0.5576 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.006419, allocations: 124.6 kB / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00642, allocations: 0 / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.006498, allocations: 19.98 kB / 0.5577 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.006502, allocations: 3.984 kB / 0.5577 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.006513, allocations: 4 kB / 0.5577 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006515, allocations: 0 / 0.5577 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.006518, allocations: 7.938 kB / 0.5577 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.006696, allocations: 121.2 kB / 0.5578 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.006705, allocations: 15.83 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.006721, allocations: 3.984 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.006742, allocations: 8 kB / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.00678, allocations: 11.92 kB / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.006785, allocations: 0 / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.006846, allocations: 119.2 kB / 0.558 GB, free: 12.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006846, allocations: 0 / 0.558 GB, free: 12.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.007055, allocations: 16 kB / 0.558 GB, free: 12.83 MB / 490.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.0001848/0.007239, allocations: 123.2 kB / 0.5581 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.00739, allocations: 55.7 kB / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007392, allocations: 0 / 0.5582 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.342e-05/0.007455, allocations: 39.61 kB / 0.5582 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.007587, allocations: 8 kB / 0.5582 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.007895, allocations: 152.7 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.915e-05/0.007964, allocations: 63.34 kB / 0.5584 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.008044, allocations: 39.94 kB / 0.5585 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.008076, allocations: 16.5 kB / 0.5585 GB, free: 12.28 MB / 490.7 MB Notification: Performance of SimCode: time 4.3e-07/0.008077, allocations: 0 / 0.5585 GB, free: 12.28 MB / 490.7 MB Notification: Performance of Templates: time 0.00344/0.01152, allocations: 0.6087 MB / 0.5591 GB, free: 11.67 MB / 490.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: 5.8515509749995545]