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.0009689/0.0009689, 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.0009503/0.0009503, allocations: 177.4 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 0.9744/0.9744, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.001604/0.001604, allocations: 253.7 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.6902/0.6902, allocations: 138.4 MB / 402.2 MB, free: 0.5469 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.393e-06/1.393e-06, allocations: 0 / 462.3 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.205e-05, allocations: 4.766 kB / 462.3 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.00218/0.002192, allocations: 1.601 MB / 463.9 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002645/0.002456, allocations: 140.6 kB / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.002483, allocations: 1.406 kB / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.022e-05/0.002503, allocations: 5.781 kB / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.361e-05/0.002537, allocations: 6.734 kB / 464.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.002729, allocations: 34.62 kB / 464.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.002789, allocations: 39.5 kB / 464.1 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.002838, allocations: 8.156 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.002869, allocations: 28.27 kB / 464.2 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.755e-05/0.002897, allocations: 14.67 kB / 464.2 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.002907, allocations: 3.281 kB / 464.2 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.266e-05/0.002969, allocations: 25.52 kB / 464.2 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.002979, allocations: 8.859 kB / 464.2 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.361e-05/0.002993, allocations: 10.98 kB / 464.2 MB, free: 15.64 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.407e-05/0.003077, allocations: 43.78 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-06/0.003078, allocations: 1.156 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003079, allocations: 1.938 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.003082, allocations: 0 / 464.3 MB, free: 15.62 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.0002076/0.00329, allocations: 251.9 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.538e-05/0.003315, allocations: 10.31 kB / 464.5 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.687e-05/0.003332, allocations: 6.781 kB / 464.6 MB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.489e-05/0.003387, allocations: 106.6 kB / 464.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.003398, allocations: 4.812 kB / 464.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.003406, allocations: 6.297 kB / 464.7 MB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.959e-05/0.003486, allocations: 65.38 kB / 464.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-06/0.00349, allocations: 1.062 kB / 464.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.003495, allocations: 384 / 464.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.003499, allocations: 3.5 kB / 464.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.003524, allocations: 12.36 kB / 464.7 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.003702, allocations: 167.2 kB / 464.9 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.003812, allocations: 42.39 kB / 465 MB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.003826, allocations: 9.906 kB / 465 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.499e-05/0.003891, allocations: 14.11 kB / 465 MB, free: 15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.003907, allocations: 34.19 kB / 465 MB, free: 14.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.003908, allocations: 0 / 465 MB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 8.026e-05/0.003988, allocations: 56.67 kB / 465.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.004009, allocations: 51.41 kB / 465.1 MB, free: 14.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.004058, allocations: 108.9 kB / 465.2 MB, free: 14.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.004066, allocations: 25.7 kB / 465.2 MB, free: 14.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.004098, allocations: 92.38 kB / 465.3 MB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.004109, allocations: 6.203 kB / 465.3 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.004135, allocations: 20.45 kB / 465.4 MB, free: 14.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.004205, allocations: 317.9 kB / 465.7 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.004213, allocations: 5.938 kB / 465.7 MB, free: 14.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/0.004222, allocations: 2.828 kB / 465.7 MB, free: 14.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.004244, allocations: 16.45 kB / 465.7 MB, free: 14.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004246, allocations: 1.125 kB / 465.7 MB, free: 14.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.245e-05/0.004289, allocations: 44.06 kB / 465.7 MB, free: 14.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.004298, allocations: 6.281 kB / 465.7 MB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.004303, allocations: 9.047 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.862e-06/0.00431, allocations: 0 / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.442e-05/0.004345, allocations: 9.578 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.004347, allocations: 0.7031 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.004363, allocations: 3.391 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.004366, allocations: 7.219 kB / 465.8 MB, free: 14.23 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 4.702e-05/0.004413, allocations: 108.8 kB / 465.9 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.004428, allocations: 6.938 kB / 465.9 MB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.004491, allocations: 52.39 kB / 465.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.004492, allocations: 3.938 kB / 465.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.004494, allocations: 2.625 kB / 465.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004497, allocations: 1.766 kB / 465.9 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.903e-05/0.004576, allocations: 72.84 kB / 466 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-07/0.004576, allocations: 0 / 466 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.004609, allocations: 12.7 kB / 466 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.00461, allocations: 1 kB / 466 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.004615, allocations: 2.172 kB / 466 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.004616, allocations: 1.094 kB / 466 MB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.004618, allocations: 3.938 kB / 466 MB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.344e-05/0.004682, allocations: 132.9 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.004687, allocations: 3.984 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.044e-06/0.004695, allocations: 0 / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.004724, allocations: 5.219 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.004755, allocations: 15 kB / 466.2 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-06/0.004757, allocations: 0 / 466.2 MB, free: 13.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.456e-05/0.004772, allocations: 14.36 kB / 466.2 MB, free: 13.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004772, allocations: 0.5 kB / 466.2 MB, free: 13.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001198/0.004892, allocations: 14.98 kB / 466.2 MB, free: 13.83 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.037e-05/0.004972, allocations: 84.97 kB / 466.3 MB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.685e-05/0.005019, allocations: 17.56 kB / 466.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005021, allocations: 1.469 kB / 466.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.948e-05/0.00504, allocations: 14.44 kB / 466.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.718e-05/0.005137, allocations: 6.219 kB / 466.3 MB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000174/0.005311, allocations: 127.2 kB / 466.5 MB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.812e-05/0.00534, allocations: 57.61 kB / 466.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.801e-05/0.005358, allocations: 3.641 kB / 466.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.005398, allocations: 53.84 kB / 466.6 MB, free: 13.51 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005398, allocations: 0 / 466.6 MB, free: 13.51 MB / 426.7 MB Notification: Performance of Templates: time 0.002033/0.007431, allocations: 0.8064 MB / 467.4 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.479360457044095]