Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 105.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 191.9 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.772/0.772, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 73.67 kB / 0.5577 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 76.18 MB / 0.6321 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001648/0.1599, allocations: 0.5727 MB / 0.6327 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002719/0.1602, allocations: 51.78 kB / 0.6327 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.1602, allocations: 0 / 0.6327 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.1603, allocations: 0 / 0.6327 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.1603, allocations: 0 / 0.6327 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1606, allocations: 27.91 kB / 0.6328 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.1607, allocations: 31.98 kB / 0.6328 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.1608, allocations: 3.984 kB / 0.6328 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.1608, allocations: 8 kB / 0.6328 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.159e-05/0.1608, allocations: 15.92 kB / 0.6328 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1608, allocations: 4 kB / 0.6328 GB, free: 3.656 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.1609, allocations: 19.97 kB / 0.6328 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.161, allocations: 11.98 kB / 0.6328 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.161, allocations: 11.88 kB / 0.6329 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1611, allocations: 31.89 kB / 0.6329 GB, free: 3.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1611, allocations: 0 / 0.6329 GB, free: 3.582 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1611, allocations: 0 / 0.6329 GB, free: 3.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1612, allocations: 4 kB / 0.6329 GB, free: 3.578 MB / 478.1 MB 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.0003421/0.1615, allocations: 346.1 kB / 0.6332 GB, free: 3.191 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1616, allocations: 8.031 kB / 0.6332 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.1616, allocations: 8.844 kB / 0.6332 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1617, allocations: 168.3 kB / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1617, allocations: 384 / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1618, allocations: 8.375 kB / 0.6334 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1619, allocations: 66.5 kB / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1619, allocations: 192 / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.162, allocations: 11.94 kB / 0.6335 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.162, allocations: 0 / 0.6335 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.1621, allocations: 99.88 kB / 0.6336 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1623, allocations: 169.7 kB / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1624, allocations: 74.48 kB / 0.6338 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.1625, allocations: 28.84 kB / 0.6338 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.1629, allocations: 405.5 kB / 0.6342 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1629, allocations: 38.56 kB / 0.6343 GB, free: 1.922 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.1629, allocations: 0 / 0.6343 GB, free: 1.922 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002663/0.1632, allocations: 121.8 kB / 0.6344 GB, free: 1.797 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.1632, allocations: 55.34 kB / 0.6344 GB, free: 1.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.1633, allocations: 93.84 kB / 0.6345 GB, free: 1.629 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1633, allocations: 33.7 kB / 0.6345 GB, free: 1.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.1633, allocations: 80.14 kB / 0.6346 GB, free: 1.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1634, allocations: 23.66 kB / 0.6346 GB, free: 1.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.1634, allocations: 33.7 kB / 0.6347 GB, free: 1.445 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1636, allocations: 318.8 kB / 0.635 GB, free: 1.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.164e-05/0.1636, allocations: 19.98 kB / 0.635 GB, free: 1.105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.1636, allocations: 19.98 kB / 0.635 GB, free: 1.086 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.698e-05/0.1637, allocations: 64.77 kB / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1638, allocations: 0 / 0.6351 GB, free: 1.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001399/0.1639, allocations: 90.33 kB / 0.6352 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1639, allocations: 7.938 kB / 0.6352 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1639, allocations: 3.938 kB / 0.6352 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.164, allocations: 0 / 0.6352 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.1641, allocations: 23.98 kB / 0.6352 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1641, allocations: 3.938 kB / 0.6352 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.1641, allocations: 11.91 kB / 0.6352 GB, free: 0.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1641, allocations: 3.938 kB / 0.6352 GB, free: 0.8711 MB / 478.1 MB 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.0001283/0.1642, allocations: 121.8 kB / 0.6353 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.1643, allocations: 4 kB / 0.6353 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.1646, allocations: 129.5 kB / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1646, allocations: 4 kB / 0.6355 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1646, allocations: 4 kB / 0.6355 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1646, allocations: 3.984 kB / 0.6355 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.1647, allocations: 169.6 kB / 0.6356 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1647, allocations: 0 / 0.6356 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.1648, allocations: 19.98 kB / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1648, allocations: 3.938 kB / 0.6357 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1648, allocations: 4 kB / 0.6357 GB, free: 352 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1648, allocations: 4 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1648, allocations: 0 / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.165, allocations: 129 kB / 0.6358 GB, free: 200 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1651, allocations: 92.89 kB / 0.6359 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.1651, allocations: 0 / 0.6359 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.467e-05/0.1651, allocations: 0 / 0.6359 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1651, allocations: 11.98 kB / 0.6359 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1651, allocations: 4 kB / 0.6359 GB, free: 72 kB / 478.1 MB Notification: Performance of sorting global known variables: time 4.858e-05/0.1652, allocations: 75.28 kB / 0.636 GB, free: 16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1652, allocations: 0 / 0.636 GB, free: 16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.1654, allocations: 20 kB / 0.636 GB, free: 15.98 MB / 494.1 MB 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.0001653/0.1656, allocations: 114.1 kB / 0.6361 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.1657, allocations: 67.84 kB / 0.6362 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1658, allocations: 0 / 0.6362 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.029e-05/0.1658, allocations: 35.91 kB / 0.6362 GB, free: 15.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.166, allocations: 8 kB / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.1662, allocations: 149 kB / 0.6363 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1665, allocations: 0.6846 MB / 0.637 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.114e-05/0.1666, allocations: 31.97 kB / 0.637 GB, free: 14.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1666, allocations: 19.42 kB / 0.6371 GB, free: 14.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1666, allocations: 0 / 0.6371 GB, free: 14.82 MB / 494.1 MB Notification: Performance of Templates: time 0.003265/0.1699, allocations: 0.6125 MB / 0.6377 GB, free: 14.21 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)