Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002395/0.002395, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002816/0.002816, allocations: 173.6 kB / 23.24 MB, free: 1.324 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.604/1.604, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.165/3.165, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.841e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003066/0.003095, allocations: 1.567 MB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004514/0.003546, allocations: 139.4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.003588, allocations: 4 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.003616, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.00366, allocations: 7.875 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.003991, allocations: 39.83 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.523e-05/0.004076, allocations: 31.92 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.004173, allocations: 11.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.004231, allocations: 27.91 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.004279, allocations: 15.98 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.004296, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.004391, allocations: 19.98 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.004414, allocations: 19.97 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.004439, allocations: 7.938 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.004588, allocations: 51.86 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.004591, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004592, allocations: 0 / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004596, allocations: 3.938 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB 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.0005402/0.005136, allocations: 278.3 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.005173, allocations: 9.344 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.005206, allocations: 0.9375 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.005333, allocations: 117.7 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.005356, allocations: 8.375 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.005367, allocations: 384 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.005579, allocations: 62.22 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005587, allocations: 4.188 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.005597, allocations: 384 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.005601, allocations: 384 / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.00582, allocations: 47.89 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.006458, allocations: 228.4 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.006806, allocations: 54.55 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.006917, allocations: 28.89 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.007061, allocations: 19.98 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.007099, allocations: 38.5 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.007101, allocations: 4 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000419/0.00752, allocations: 97.75 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.007569, allocations: 55.41 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.007678, allocations: 105.8 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.007698, allocations: 25.7 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.007763, allocations: 84.09 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.007786, allocations: 11.95 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.007825, allocations: 17.66 kB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.008004, allocations: 318.8 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.008101, allocations: 15.98 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.255e-05/0.008193, allocations: 23.95 kB / 1.005 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.008375, allocations: 48.83 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008377, allocations: 0 / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00025/0.008627, allocations: 85.52 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.008645, allocations: 4 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.008649, allocations: 3.938 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.008661, allocations: 0 / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.008752, allocations: 15.98 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.008758, allocations: 0 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.008814, allocations: 4 kB / 1.005 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.008823, allocations: 4 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB 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 0.0001064/0.00893, allocations: 113.8 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.008958, allocations: 7.938 kB / 1.005 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.009252, allocations: 85.22 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.009255, allocations: 0 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.00926, allocations: 8 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.009262, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.009424, allocations: 105.3 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009425, allocations: 4 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.009508, allocations: 7.984 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.00951, allocations: 4 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.009521, allocations: 3.938 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009522, allocations: 0 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009523, allocations: 0 / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.00983, allocations: 175.5 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.009841, allocations: 4 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.009856, allocations: 7.875 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.009943, allocations: 8.234 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.009993, allocations: 0 / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.01, allocations: 12 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.01006, allocations: 83.27 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01006, allocations: 0 / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002331/0.01029, allocations: 15.89 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB 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 0.0002042/0.0105, allocations: 111.2 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.01074, allocations: 40.19 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01074, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.01085, allocations: 32 kB / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.01109, allocations: 96 / 1.006 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.01146, allocations: 124.8 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.233e-05/0.01154, allocations: 67.34 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.01157, allocations: 4 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.0116, allocations: 12.5 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.0116, allocations: 0 / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of Templates: time 0.003814/0.01541, allocations: 0.7698 MB / 1.006 GB, free: 7.188 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.756567073985934]