Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001073/0.001073, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001148/0.001148, allocations: 177 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.092/1.092, allocations: 177.2 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.002182/0.002182, allocations: 247 kB / 260.5 MB, free: 12.71 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.746/0.746, allocations: 138.4 MB / 402.2 MB, free: 0.5859 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 462.4 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.191e-05, allocations: 4.734 kB / 462.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.001919/0.001931, allocations: 1.65 MB / 464 MB, free: 15.83 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002949/0.002226, allocations: 143.2 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.002257, allocations: 1.094 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002283, allocations: 5.391 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.002324, allocations: 3.109 kB / 464.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.002558, allocations: 34.78 kB / 464.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.002621, allocations: 33.89 kB / 464.2 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/0.002695, allocations: 15.27 kB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.002737, allocations: 21.66 kB / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.002779, allocations: 14.42 kB / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.002794, allocations: 6.062 kB / 464.3 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.002884, allocations: 22.88 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.002899, allocations: 8.234 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.002914, allocations: 11.12 kB / 464.3 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003015, allocations: 51.58 kB / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003017, allocations: 0 / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003018, allocations: 0.5625 kB / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.003021, allocations: 1.812 kB / 464.4 MB, free: 15.65 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002662/0.003287, allocations: 251.7 kB / 464.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.003314, allocations: 9.281 kB / 464.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.003338, allocations: 4.719 kB / 464.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.607e-05/0.003414, allocations: 108.9 kB / 464.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.003432, allocations: 6.312 kB / 464.7 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.003439, allocations: 6.875 kB / 464.8 MB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.00354, allocations: 61.19 kB / 464.8 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.003547, allocations: 1.5 kB / 464.8 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.003554, allocations: 4.469 kB / 464.8 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.003559, allocations: 384 / 464.8 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.003585, allocations: 19.3 kB / 464.8 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.003808, allocations: 169.9 kB / 465 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.003935, allocations: 31.58 kB / 465 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.003951, allocations: 9.75 kB / 465 MB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.039e-05/0.004021, allocations: 22.03 kB / 465.1 MB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.004041, allocations: 37.92 kB / 465.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.004042, allocations: 0.6875 kB / 465.1 MB, free: 14.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 9.73e-05/0.004139, allocations: 44.28 kB / 465.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.004162, allocations: 54.03 kB / 465.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.839e-05/0.00421, allocations: 106.5 kB / 465.3 MB, free: 14.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.148e-06/0.004219, allocations: 27.2 kB / 465.3 MB, free: 14.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.004248, allocations: 95.14 kB / 465.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.004262, allocations: 6.047 kB / 465.4 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.004288, allocations: 14.95 kB / 465.4 MB, free: 14.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.00436, allocations: 318 kB / 465.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.004369, allocations: 3.266 kB / 465.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-06/0.004379, allocations: 14.56 kB / 465.8 MB, free: 14.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.004406, allocations: 15.64 kB / 465.8 MB, free: 14.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004407, allocations: 0 / 465.8 MB, free: 14.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.804e-05/0.004455, allocations: 43.05 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.004465, allocations: 4.438 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.00447, allocations: 3.938 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.004481, allocations: 1.125 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.354e-05/0.004524, allocations: 10.98 kB / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.004527, allocations: 0 / 465.8 MB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.004547, allocations: 8.688 kB / 465.9 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.004552, allocations: 5.844 kB / 465.9 MB, free: 14.26 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 (falFac.y,rea2Int.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 5.197e-05/0.004604, allocations: 109.1 kB / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.662e-05/0.00462, allocations: 4.031 kB / 466 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.004699, allocations: 54.39 kB / 466 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.0047, allocations: 1.875 kB / 466 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.004702, allocations: 3.375 kB / 466 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004705, allocations: 0.6094 kB / 466 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.14e-05/0.004786, allocations: 71.44 kB / 466.1 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.004787, allocations: 0.5625 kB / 466.1 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.004817, allocations: 8.953 kB / 466.1 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.004818, allocations: 1.906 kB / 466.1 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.004822, allocations: 0.5312 kB / 466.1 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.004823, allocations: 2.984 kB / 466.1 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.004825, allocations: 5.281 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.097e-05/0.004896, allocations: 136.7 kB / 466.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.004901, allocations: 2.344 kB / 466.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.004909, allocations: 4 kB / 466.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.004944, allocations: 4.062 kB / 466.3 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.004977, allocations: 9.672 kB / 466.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.004981, allocations: 2.844 kB / 466.3 MB, free: 13.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.116e-05/0.004992, allocations: 15.31 kB / 466.3 MB, free: 13.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004992, allocations: 0 / 466.3 MB, free: 13.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001254/0.005117, allocations: 13.47 kB / 466.3 MB, free: 13.87 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 (rea2Int.y,falFac.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 8.831e-05/0.005206, allocations: 83.16 kB / 466.4 MB, free: 13.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.681e-05/0.005263, allocations: 21.11 kB / 466.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.005265, allocations: 6.031 kB / 466.4 MB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.186e-05/0.005287, allocations: 17.92 kB / 466.4 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.005401, allocations: 8.438 kB / 466.4 MB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002018/0.005603, allocations: 118.1 kB / 466.6 MB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.005635, allocations: 57.5 kB / 466.6 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.006e-05/0.005655, allocations: 3.406 kB / 466.6 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.005696, allocations: 55.84 kB / 466.7 MB, free: 13.54 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/0.005697, allocations: 0 / 466.7 MB, free: 13.54 MB / 426.7 MB Notification: Performance of Templates: time 0.002402/0.0081, allocations: 0.8083 MB / 467.5 MB, free: 13.35 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6608464871533215]