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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 189.5 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003569/0.003569, allocations: 295 kB / 307 MB, free: 8.359 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.248/1.248, allocations: 180.8 MB / 0.5304 GB, free: 14.5 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002945/0.002945, allocations: 101.3 kB / 0.7311 GB, free: 38.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1503, allocations: 94.19 MB / 0.8231 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001647/0.152, allocations: 0.5998 MB / 0.8237 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.1522, allocations: 60.17 kB / 0.8237 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.1522, allocations: 0 / 0.8237 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.1523, allocations: 0 / 0.8237 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-06/0.1523, allocations: 0 / 0.8237 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1525, allocations: 19.92 kB / 0.8238 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.1526, allocations: 31.97 kB / 0.8238 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.1527, allocations: 3.984 kB / 0.8238 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.711e-05/0.1527, allocations: 4 kB / 0.8238 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.946e-05/0.1527, allocations: 15.98 kB / 0.8238 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1527, allocations: 4 kB / 0.8238 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-05/0.1528, allocations: 31.97 kB / 0.8238 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.1529, allocations: 15.92 kB / 0.8239 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.1529, allocations: 15.92 kB / 0.8239 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.153, allocations: 35.83 kB / 0.8239 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.153, allocations: 0 / 0.8239 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.153, allocations: 0 / 0.8239 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.153, allocations: 0 / 0.8239 GB, free: 1.199 MB / 0.5606 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.000336/0.1534, allocations: 262.3 kB / 0.8242 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1534, allocations: 8.031 kB / 0.8242 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.1534, allocations: 8.938 kB / 0.8242 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/0.1535, allocations: 102.5 kB / 0.8243 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1535, allocations: 8.375 kB / 0.8243 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.1535, allocations: 4.312 kB / 0.8243 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1537, allocations: 74.09 kB / 0.8244 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1537, allocations: 192 / 0.8244 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1537, allocations: 7.938 kB / 0.8244 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1537, allocations: 0 / 0.8244 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1539, allocations: 103.9 kB / 0.8245 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.154, allocations: 148.6 kB / 0.8246 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1542, allocations: 66.53 kB / 0.8247 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.1542, allocations: 32.78 kB / 0.8247 GB, free: 280 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.1544, allocations: 19.97 kB / 0.8247 GB, free: 260 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1544, allocations: 34.56 kB / 0.8248 GB, free: 216 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1544, allocations: 0 / 0.8248 GB, free: 216 kB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0002671/0.1547, allocations: 113.9 kB / 0.8249 GB, free: 96 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1547, allocations: 59.41 kB / 0.8249 GB, free: 24 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.683e-05/0.1548, allocations: 97.81 kB / 0.825 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1548, allocations: 29.69 kB / 0.825 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.1549, allocations: 80.14 kB / 0.8251 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.1549, allocations: 15.91 kB / 0.8251 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.1549, allocations: 33.7 kB / 0.8252 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1551, allocations: 310.8 kB / 0.8255 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.1551, allocations: 23.92 kB / 0.8255 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.1552, allocations: 23.98 kB / 0.8255 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1553, allocations: 64.77 kB / 0.8256 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1553, allocations: 4 kB / 0.8256 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001445/0.1554, allocations: 86.28 kB / 0.8257 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1554, allocations: 8 kB / 0.8257 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1554, allocations: 3.938 kB / 0.8257 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1554, allocations: 0 / 0.8257 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1556, allocations: 27.92 kB / 0.8257 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1556, allocations: 0 / 0.8257 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.1556, allocations: 3.938 kB / 0.8257 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1556, allocations: 4 kB / 0.8257 GB, free: 15.18 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.0001443/0.1557, allocations: 129 kB / 0.8258 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.1557, allocations: 11.94 kB / 0.8258 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.156, allocations: 137.4 kB / 0.826 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.156, allocations: 0 / 0.826 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.156, allocations: 0 / 0.826 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.156, allocations: 3.984 kB / 0.826 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1561, allocations: 144.7 kB / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1561, allocations: 7.938 kB / 0.8261 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.1562, allocations: 23.98 kB / 0.8261 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1562, allocations: 3.938 kB / 0.8261 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.1562, allocations: 0 / 0.8261 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1562, allocations: 0 / 0.8261 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1562, allocations: 0 / 0.8261 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1564, allocations: 125 kB / 0.8263 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.1564, allocations: 11.83 kB / 0.8263 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.1564, allocations: 12 kB / 0.8263 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.1564, allocations: 0 / 0.8263 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.1564, allocations: 7.984 kB / 0.8263 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.1564, allocations: 0 / 0.8263 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.1565, allocations: 79.27 kB / 0.8264 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1565, allocations: 4 kB / 0.8264 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002057/0.1567, allocations: 12 kB / 0.8264 GB, free: 14.4 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.0001932/0.1569, allocations: 111.2 kB / 0.8265 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.157, allocations: 63.83 kB / 0.8265 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.157, allocations: 0 / 0.8265 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.169e-05/0.1571, allocations: 27.98 kB / 0.8266 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1572, allocations: 10.66 kB / 0.8266 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.1575, allocations: 144.8 kB / 0.8267 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1578, allocations: 0.6807 MB / 0.8274 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.145e-05/0.1579, allocations: 35.95 kB / 0.8274 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.1579, allocations: 19.42 kB / 0.8274 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1579, allocations: 0 / 0.8274 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of Templates: time 0.002991/0.1609, allocations: 0.6429 MB / 0.8281 GB, free: 12.62 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.146013279998442] Failed to read output from testmodel.py, exit status != 0: 0.16822123699239455 0.18285441600000002 0.026887190000000002 Calling exit ...