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.001325/0.001325, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001421/0.001421, allocations: 211.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 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.002575/0.002575, allocations: 299.1 kB / 312.7 MB, free: 2.578 MB / 238.1 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.253/1.253, allocations: 180.6 MB / 0.5369 GB, free: 14.44 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0029/0.0029, allocations: 106.3 kB / 0.74 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1661, allocations: 95.39 MB / 0.8332 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001787/0.1679, allocations: 0.5881 MB / 0.8337 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002688/0.1682, allocations: 56.2 kB / 0.8338 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.1682, allocations: 0 / 0.8338 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.1682, allocations: 4 kB / 0.8338 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.1682, allocations: 0 / 0.8338 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1685, allocations: 19.91 kB / 0.8338 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.477e-05/0.1686, allocations: 27.98 kB / 0.8338 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.1686, allocations: 0 / 0.8338 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.1686, allocations: 15.98 kB / 0.8339 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.694e-05/0.1686, allocations: 7.984 kB / 0.8339 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.1687, allocations: 0 / 0.8339 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.1688, allocations: 31.97 kB / 0.8339 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.1688, allocations: 15.92 kB / 0.8339 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.1688, allocations: 7.938 kB / 0.8339 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.1689, allocations: 47.75 kB / 0.834 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1689, allocations: 4 kB / 0.834 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1689, allocations: 0 / 0.834 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.1689, allocations: 0 / 0.834 GB, free: 7.062 MB / 0.5762 GB 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.000351/0.1693, allocations: 262.3 kB / 0.8342 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1693, allocations: 13.34 kB / 0.8342 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.1694, allocations: 0.9375 kB / 0.8342 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.713e-05/0.1694, allocations: 106.5 kB / 0.8343 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1695, allocations: 4.375 kB / 0.8343 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1695, allocations: 8.375 kB / 0.8343 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1696, allocations: 62.22 kB / 0.8344 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1696, allocations: 4.188 kB / 0.8344 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1696, allocations: 3.938 kB / 0.8344 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1696, allocations: 4 kB / 0.8344 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1698, allocations: 95.86 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.17, allocations: 121.2 kB / 0.8346 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.1701, allocations: 70.47 kB / 0.8347 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/0.1701, allocations: 32.84 kB / 0.8347 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.1703, allocations: 19.98 kB / 0.8347 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1703, allocations: 30.56 kB / 0.8348 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1703, allocations: 0 / 0.8348 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0002609/0.1706, allocations: 118.2 kB / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.1707, allocations: 59.34 kB / 0.8349 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.1707, allocations: 105.7 kB / 0.835 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1707, allocations: 25.7 kB / 0.8351 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.1708, allocations: 80.14 kB / 0.8351 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.1708, allocations: 27.78 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.1709, allocations: 33.7 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.171, allocations: 314.8 kB / 0.8355 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.171, allocations: 19.98 kB / 0.8355 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.1711, allocations: 23.98 kB / 0.8355 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.753e-05/0.1712, allocations: 52.83 kB / 0.8356 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1712, allocations: 8 kB / 0.8356 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001553/0.1714, allocations: 89.61 kB / 0.8357 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1714, allocations: 8 kB / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1714, allocations: 0 / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1714, allocations: 3.938 kB / 0.8357 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1715, allocations: 23.92 kB / 0.8357 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1715, allocations: 3.938 kB / 0.8357 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.1715, allocations: 7.891 kB / 0.8357 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.1715, allocations: 4 kB / 0.8357 GB, free: 5.078 MB / 0.5762 GB 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.0001371/0.1717, allocations: 126.5 kB / 0.8359 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.1717, allocations: 8 kB / 0.8359 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.1719, allocations: 129.3 kB / 0.836 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1719, allocations: 0 / 0.836 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1719, allocations: 0 / 0.836 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1719, allocations: 3.984 kB / 0.836 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.172, allocations: 109.3 kB / 0.8361 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.172, allocations: 0 / 0.8361 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.1721, allocations: 19.98 kB / 0.8361 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1721, allocations: 3.984 kB / 0.8361 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1721, allocations: 12 kB / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1721, allocations: 3.938 kB / 0.8361 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1721, allocations: 0 / 0.8361 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.1723, allocations: 125 kB / 0.8363 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.1723, allocations: 3.938 kB / 0.8363 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1723, allocations: 7.938 kB / 0.8363 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.1723, allocations: 4 kB / 0.8363 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.1724, allocations: 15.91 kB / 0.8363 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1724, allocations: 0 / 0.8363 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.1724, allocations: 75.28 kB / 0.8364 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1724, allocations: 4 kB / 0.8364 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002051/0.1726, allocations: 16 kB / 0.8364 GB, free: 4.355 MB / 0.5762 GB 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.0001547/0.1728, allocations: 108 kB / 0.8365 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.1729, allocations: 60.55 kB / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1729, allocations: 0 / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.173, allocations: 36.08 kB / 0.8366 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1731, allocations: 8 kB / 0.8366 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.1734, allocations: 144.8 kB / 0.8367 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.7e-05/0.1735, allocations: 71.28 kB / 0.8368 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.179e-05/0.1736, allocations: 39.92 kB / 0.8368 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.1736, allocations: 19.44 kB / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.1736, allocations: 0 / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of Templates: time 0.002957/0.1766, allocations: 0.5764 MB / 0.8374 GB, free: 3.254 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.062213519588113] Failed to read output from testmodel.py, exit status != 0: 0.18407067097723484 0.199678556 0.027644612000000002 Calling exit ...