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.00104/0.00104, allocations: 112.2 kB / 17.04 MB, free: 5.359 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.001139/0.001139, allocations: 195.8 kB / 17.98 MB, free: 4.895 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.256/1.256, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6888/0.6888, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3486, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001772/0.3504, allocations: 0.5671 MB / 0.5581 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002444/0.3507, allocations: 57.41 kB / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.3507, allocations: 0 / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.3508, allocations: 0 / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.3508, allocations: 3.938 kB / 0.5582 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.3511, allocations: 19.45 kB / 0.5582 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.3511, allocations: 29.06 kB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.3512, allocations: 4 kB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.3512, allocations: 14.3 kB / 0.5583 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.46e-05/0.3512, allocations: 8.875 kB / 0.5583 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3513, allocations: 1.531 kB / 0.5583 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.3513, allocations: 21.83 kB / 0.5583 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.3514, allocations: 19.22 kB / 0.5583 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.3514, allocations: 8.75 kB / 0.5583 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.174e-05/0.3515, allocations: 34.88 kB / 0.5584 GB, free: 36.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3515, allocations: 0.5312 kB / 0.5584 GB, free: 36.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3515, allocations: 0 / 0.5584 GB, free: 36.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3515, allocations: 0.75 kB / 0.5584 GB, free: 36.26 MB / 446.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.0002463/0.3518, allocations: 341 kB / 0.5587 GB, free: 35.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3518, allocations: 8.719 kB / 0.5587 GB, free: 35.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.3518, allocations: 7.844 kB / 0.5587 GB, free: 35.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.057e-05/0.3519, allocations: 163.6 kB / 0.5588 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3519, allocations: 2.875 kB / 0.5589 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.3519, allocations: 4.156 kB / 0.5589 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3521, allocations: 71.28 kB / 0.5589 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.3521, allocations: 1.406 kB / 0.5589 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3521, allocations: 4.469 kB / 0.5589 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3521, allocations: 1.875 kB / 0.5589 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3522, allocations: 108.5 kB / 0.559 GB, free: 35.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.3524, allocations: 170.9 kB / 0.5592 GB, free: 35.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.3525, allocations: 74.67 kB / 0.5593 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.3525, allocations: 31.81 kB / 0.5593 GB, free: 35.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.3528, allocations: 408 kB / 0.5597 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.3528, allocations: 36.12 kB / 0.5597 GB, free: 34.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.133e-06/0.3528, allocations: 0.6562 kB / 0.5597 GB, free: 34.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002337/0.3531, allocations: 123.3 kB / 0.5598 GB, free: 34.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.3531, allocations: 53.5 kB / 0.5599 GB, free: 34.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.955e-05/0.3531, allocations: 97.31 kB / 0.56 GB, free: 34.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.3531, allocations: 32.42 kB / 0.56 GB, free: 34.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.077e-05/0.3532, allocations: 80.14 kB / 0.5601 GB, free: 34.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3532, allocations: 20.12 kB / 0.5601 GB, free: 34.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3532, allocations: 28.36 kB / 0.5601 GB, free: 34.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.3533, allocations: 319.1 kB / 0.5604 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.3533, allocations: 19.83 kB / 0.5605 GB, free: 34.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.3534, allocations: 22.36 kB / 0.5605 GB, free: 34.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.545e-05/0.3535, allocations: 64.27 kB / 0.5605 GB, free: 34.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3535, allocations: 2.062 kB / 0.5605 GB, free: 34.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001242/0.3536, allocations: 89.5 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3536, allocations: 10.41 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3536, allocations: 3.938 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3537, allocations: 2.516 kB / 0.5606 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3538, allocations: 17.03 kB / 0.5607 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3538, allocations: 1.438 kB / 0.5607 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.3538, allocations: 6.016 kB / 0.5607 GB, free: 34.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.3538, allocations: 7.219 kB / 0.5607 GB, free: 34.08 MB / 446.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 8.972e-05/0.3539, allocations: 125.1 kB / 0.5608 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.3539, allocations: 6.625 kB / 0.5608 GB, free: 33.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.3541, allocations: 125.2 kB / 0.5609 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3541, allocations: 1.062 kB / 0.5609 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3542, allocations: 0 / 0.5609 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3542, allocations: 2.547 kB / 0.5609 GB, free: 33.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.251e-05/0.3542, allocations: 182.1 kB / 0.5611 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3543, allocations: 1.5 kB / 0.5611 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.3543, allocations: 21.11 kB / 0.5611 GB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3543, allocations: 5.906 kB / 0.5611 GB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.3543, allocations: 2 kB / 0.5611 GB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3543, allocations: 1.312 kB / 0.5611 GB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3544, allocations: 1.656 kB / 0.5611 GB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.3545, allocations: 125.7 kB / 0.5613 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.3545, allocations: 87.06 kB / 0.5613 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3545, allocations: 2.156 kB / 0.5613 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.3545, allocations: 0.5625 kB / 0.5613 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.3546, allocations: 14.55 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3546, allocations: 7.281 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.241e-05/0.3546, allocations: 76.59 kB / 0.5614 GB, free: 33.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3546, allocations: 0 / 0.5614 GB, free: 33.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001972/0.3548, allocations: 19.78 kB / 0.5615 GB, free: 33.39 MB / 446.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.0001342/0.355, allocations: 116.9 kB / 0.5616 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.3551, allocations: 64.77 kB / 0.5616 GB, free: 33.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3551, allocations: 0 / 0.5616 GB, free: 33.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.3552, allocations: 36.16 kB / 0.5617 GB, free: 33.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.3553, allocations: 9.328 kB / 0.5617 GB, free: 33.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.3555, allocations: 137.4 kB / 0.5618 GB, free: 33.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.773e-05/0.3556, allocations: 0.6841 MB / 0.5625 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.198e-05/0.3557, allocations: 38.2 kB / 0.5625 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.3557, allocations: 19.44 kB / 0.5625 GB, free: 32.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3557, allocations: 0 / 0.5625 GB, free: 32.45 MB / 446.1 MB Notification: Performance of Templates: time 0.002572/0.3583, allocations: 0.6092 MB / 0.5631 GB, free: 32.39 MB / 446.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)