Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") translateModel(IBPSA.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.00149, allocations: 108.3 kB / 17.04 MB, free: 5.812 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.001676/0.001676, allocations: 195 kB / 17.98 MB, free: 5.027 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7049/0.7049, allocations: 115.1 MB / 407 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.00214, allocations: 67.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3642, allocations: 76.14 MB / 0.5576 GB, free: 36.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002381/0.3666, allocations: 1.517 MB / 0.5591 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.3669, allocations: 137.9 kB / 0.5592 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.367, allocations: 1.281 kB / 0.5592 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.367, allocations: 4.562 kB / 0.5592 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.3671, allocations: 6.094 kB / 0.5592 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.3673, allocations: 32.97 kB / 0.5592 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.3674, allocations: 44.28 kB / 0.5593 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.3675, allocations: 13.62 kB / 0.5593 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.647e-05/0.3675, allocations: 16.17 kB / 0.5593 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.3676, allocations: 16.27 kB / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3676, allocations: 6.031 kB / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.3677, allocations: 17.72 kB / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.3677, allocations: 10.98 kB / 0.5593 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.3677, allocations: 14.39 kB / 0.5594 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3678, allocations: 48.66 kB / 0.5594 GB, free: 35.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3678, allocations: 1.406 kB / 0.5594 GB, free: 35.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3678, allocations: 1.375 kB / 0.5594 GB, free: 35.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3679, allocations: 0 / 0.5594 GB, free: 35.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003715/0.3682, allocations: 349.5 kB / 0.5597 GB, free: 35.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.3683, allocations: 9.812 kB / 0.5598 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.3683, allocations: 4.469 kB / 0.5598 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.134e-05/0.3684, allocations: 171.5 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3684, allocations: 6.375 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3684, allocations: 2.562 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3686, allocations: 68.56 kB / 0.56 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3686, allocations: 192 / 0.56 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3686, allocations: 8.656 kB / 0.56 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3686, allocations: 1.156 kB / 0.56 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.3688, allocations: 47.2 kB / 0.56 GB, free: 34.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.3692, allocations: 273.4 kB / 0.5603 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.3695, allocations: 62.72 kB / 0.5604 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.3696, allocations: 27.06 kB / 0.5604 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.3697, allocations: 398.9 kB / 0.5608 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.3698, allocations: 32.38 kB / 0.5608 GB, free: 34.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3698, allocations: 1.5 kB / 0.5608 GB, free: 34.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003583/0.3701, allocations: 100.9 kB / 0.5609 GB, free: 34.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.3702, allocations: 58.36 kB / 0.561 GB, free: 34.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/0.3702, allocations: 110.9 kB / 0.5611 GB, free: 33.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3702, allocations: 25.7 kB / 0.5611 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.3703, allocations: 94.44 kB / 0.5612 GB, free: 33.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.3703, allocations: 5.125 kB / 0.5612 GB, free: 33.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.3703, allocations: 19.19 kB / 0.5612 GB, free: 33.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.3704, allocations: 318.3 kB / 0.5615 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.3705, allocations: 20.36 kB / 0.5615 GB, free: 33.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.3706, allocations: 22.17 kB / 0.5615 GB, free: 33.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3707, allocations: 47.59 kB / 0.5616 GB, free: 33.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3708, allocations: 0.9375 kB / 0.5616 GB, free: 33.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001975/0.371, allocations: 73.91 kB / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.371, allocations: 5.125 kB / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.371, allocations: 3.625 kB / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.371, allocations: 0 / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.3711, allocations: 12.5 kB / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3711, allocations: 0.5938 kB / 0.5617 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.3712, allocations: 19.78 kB / 0.5617 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3712, allocations: 1.375 kB / 0.5617 GB, free: 33.4 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.923e-05/0.3712, allocations: 114.3 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3713, allocations: 2.344 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.3715, allocations: 86.31 kB / 0.5619 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3715, allocations: 0 / 0.5619 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3715, allocations: 7.625 kB / 0.5619 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3715, allocations: 0 / 0.5619 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3717, allocations: 166 kB / 0.5621 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3717, allocations: 0 / 0.5621 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.3718, allocations: 10.78 kB / 0.5621 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3718, allocations: 2.953 kB / 0.5621 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3718, allocations: 4.516 kB / 0.5621 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3718, allocations: 1.969 kB / 0.5621 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3718, allocations: 0 / 0.5621 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.372, allocations: 177.6 kB / 0.5623 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.3721, allocations: 79.69 kB / 0.5623 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.3721, allocations: 5.688 kB / 0.5623 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.3722, allocations: 6.312 kB / 0.5623 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.3722, allocations: 9.078 kB / 0.5623 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3722, allocations: 5.594 kB / 0.5624 GB, free: 32.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.829e-05/0.3723, allocations: 89.77 kB / 0.5624 GB, free: 32.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3723, allocations: 3.938 kB / 0.5624 GB, free: 32.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.3725, allocations: 9.562 kB / 0.5625 GB, free: 32.7 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001169/0.3726, allocations: 104.8 kB / 0.5626 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3729, allocations: 51.53 kB / 0.5626 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3729, allocations: 0.5 kB / 0.5626 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.449e-05/0.373, allocations: 26.97 kB / 0.5626 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.3733, allocations: 8.578 kB / 0.5626 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.3735, allocations: 129.5 kB / 0.5628 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.156e-05/0.3736, allocations: 0.6852 MB / 0.5634 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.892e-05/0.3736, allocations: 3.5 kB / 0.5634 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.3737, allocations: 11.78 kB / 0.5634 GB, free: 31.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3737, allocations: 1.531 kB / 0.5634 GB, free: 31.76 MB / 446.1 MB Notification: Performance of Templates: time 0.002871/0.3766, allocations: 0.7561 MB / 0.5642 GB, free: 31.71 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)