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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 182.7 kB / 16.63 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4573/0.4573, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 349.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 107.8 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 59.91 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3506, allocations: 70.06 MB / 0.5575 GB, free: 44.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001768/0.3524, allocations: 0.6378 MB / 0.5581 GB, free: 44.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002689/0.3527, allocations: 58.56 kB / 0.5582 GB, free: 44.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.3528, allocations: 0 / 0.5582 GB, free: 44.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.3528, allocations: 3.406 kB / 0.5582 GB, free: 44.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.3528, allocations: 0 / 0.5582 GB, free: 44.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.3531, allocations: 13.67 kB / 0.5582 GB, free: 44.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.3532, allocations: 31 kB / 0.5582 GB, free: 44.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.3532, allocations: 5.141 kB / 0.5582 GB, free: 44.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.3532, allocations: 10.91 kB / 0.5582 GB, free: 44.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.503e-05/0.3533, allocations: 8.719 kB / 0.5582 GB, free: 44.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.3533, allocations: 2.281 kB / 0.5582 GB, free: 44.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.3533, allocations: 19.91 kB / 0.5583 GB, free: 44.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.3534, allocations: 13.23 kB / 0.5583 GB, free: 44.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.3534, allocations: 9.156 kB / 0.5583 GB, free: 44.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.239e-05/0.3535, allocations: 34.23 kB / 0.5583 GB, free: 44.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3535, allocations: 1 kB / 0.5583 GB, free: 44.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3535, allocations: 0 / 0.5583 GB, free: 44.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.3536, allocations: 0 / 0.5583 GB, free: 44.2 MB / 410.7 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.0002941/0.3539, allocations: 349.7 kB / 0.5587 GB, free: 43.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3539, allocations: 8.562 kB / 0.5587 GB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.3539, allocations: 3.5 kB / 0.5587 GB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.812e-05/0.354, allocations: 166.4 kB / 0.5588 GB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.354, allocations: 7.125 kB / 0.5588 GB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.3541, allocations: 7.094 kB / 0.5588 GB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3542, allocations: 63.34 kB / 0.5589 GB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3542, allocations: 192 / 0.5589 GB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3543, allocations: 5.406 kB / 0.5589 GB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3543, allocations: 1.219 kB / 0.5589 GB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3544, allocations: 101.9 kB / 0.559 GB, free: 43.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.3546, allocations: 182.2 kB / 0.5592 GB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.3547, allocations: 73.83 kB / 0.5592 GB, free: 43.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.3548, allocations: 28.61 kB / 0.5593 GB, free: 43.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.355, allocations: 409.2 kB / 0.5597 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.3551, allocations: 36.84 kB / 0.5597 GB, free: 42.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3551, allocations: 0 / 0.5597 GB, free: 42.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002121/0.3553, allocations: 117.6 kB / 0.5598 GB, free: 42.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.828e-05/0.3553, allocations: 55.41 kB / 0.5599 GB, free: 42.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.397e-05/0.3553, allocations: 89.86 kB / 0.56 GB, free: 42.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.3554, allocations: 33.7 kB / 0.56 GB, free: 42.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.128e-05/0.3554, allocations: 80.14 kB / 0.5601 GB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3554, allocations: 23.7 kB / 0.5601 GB, free: 42.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3555, allocations: 29.7 kB / 0.5601 GB, free: 42.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.3555, allocations: 314.8 kB / 0.5604 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.3555, allocations: 23.92 kB / 0.5604 GB, free: 41.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.3556, allocations: 20.42 kB / 0.5605 GB, free: 41.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.539e-05/0.3557, allocations: 64.98 kB / 0.5605 GB, free: 41.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3557, allocations: 4 kB / 0.5605 GB, free: 41.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001011/0.3558, allocations: 93.55 kB / 0.5606 GB, free: 41.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3558, allocations: 4 kB / 0.5606 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3558, allocations: 3.938 kB / 0.5606 GB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3558, allocations: 4 kB / 0.5606 GB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.3559, allocations: 15.98 kB / 0.5606 GB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3559, allocations: 11.98 kB / 0.5606 GB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.356, allocations: 11.84 kB / 0.5607 GB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.356, allocations: 4 kB / 0.5607 GB, free: 41.66 MB / 410.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: 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.0001153/0.3561, allocations: 125.8 kB / 0.5608 GB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.3561, allocations: 0 / 0.5608 GB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.3563, allocations: 125.4 kB / 0.5609 GB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3563, allocations: 4 kB / 0.5609 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3563, allocations: 0 / 0.5609 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3563, allocations: 0 / 0.5609 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.367e-05/0.3564, allocations: 181.6 kB / 0.5611 GB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3564, allocations: 4 kB / 0.5611 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/0.3565, allocations: 19.98 kB / 0.5611 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3565, allocations: 7.875 kB / 0.5611 GB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3565, allocations: 4 kB / 0.5611 GB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3565, allocations: 0 / 0.5611 GB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3565, allocations: 7.875 kB / 0.5611 GB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3568, allocations: 0.6967 MB / 0.5618 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.3568, allocations: 81.11 kB / 0.5619 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3568, allocations: 0 / 0.5619 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.3568, allocations: 4 kB / 0.5619 GB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.3569, allocations: 7.984 kB / 0.5619 GB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3569, allocations: 4 kB / 0.5619 GB, free: 40.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.241e-05/0.3569, allocations: 75.28 kB / 0.562 GB, free: 40.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3569, allocations: 0 / 0.562 GB, free: 40.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000284/0.3572, allocations: 19.94 kB / 0.562 GB, free: 40.16 MB / 410.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: 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.0001489/0.3573, allocations: 119.2 kB / 0.5621 GB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.3575, allocations: 59.91 kB / 0.5622 GB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3575, allocations: 0 / 0.5622 GB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-05/0.3575, allocations: 32.52 kB / 0.5622 GB, free: 39.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.3577, allocations: 8 kB / 0.5622 GB, free: 39.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.358, allocations: 285.7 kB / 0.5625 GB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.3581, allocations: 0.6874 MB / 0.5631 GB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.818e-05/0.3582, allocations: 35.95 kB / 0.5632 GB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.3582, allocations: 15.44 kB / 0.5632 GB, free: 38.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3582, allocations: 0 / 0.5632 GB, free: 38.86 MB / 410.7 MB Notification: Performance of Templates: time 0.00226/0.3604, allocations: 0.6018 MB / 0.5638 GB, free: 38.26 MB / 410.7 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)