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.001429/0.001429, allocations: 104.4 kB / 16.52 MB, free: 6.266 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.001593/0.001593, allocations: 197 kB / 17.44 MB, free: 5.887 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7858/0.7858, allocations: 115.3 MB / 406.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3415, allocations: 76.18 MB / 0.5564 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001757/0.3433, allocations: 0.6408 MB / 0.557 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002508/0.3435, allocations: 58.72 kB / 0.5571 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.3436, allocations: 2.75 kB / 0.5571 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.3436, allocations: 0 / 0.5571 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.3436, allocations: 0 / 0.5571 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.3438, allocations: 19.39 kB / 0.5571 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.052e-05/0.3439, allocations: 24.83 kB / 0.5571 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.344, allocations: 4.203 kB / 0.5571 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.344, allocations: 16.14 kB / 0.5571 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.687e-05/0.344, allocations: 11.38 kB / 0.5571 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.344, allocations: 2.156 kB / 0.5571 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.3441, allocations: 21.23 kB / 0.5572 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.3441, allocations: 13.73 kB / 0.5572 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3442, allocations: 13.05 kB / 0.5572 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.348e-05/0.3443, allocations: 19.77 kB / 0.5572 GB, free: 35.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3443, allocations: 1.469 kB / 0.5572 GB, free: 35.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.3443, allocations: 0 / 0.5572 GB, free: 35.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3443, allocations: 0 / 0.5572 GB, free: 35.13 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.0002665/0.3446, allocations: 333.2 kB / 0.5575 GB, free: 34.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3446, allocations: 13.11 kB / 0.5575 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.3446, allocations: 7.812 kB / 0.5575 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.967e-05/0.3447, allocations: 164 kB / 0.5577 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3447, allocations: 15.25 kB / 0.5577 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.3447, allocations: 4.406 kB / 0.5577 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.3449, allocations: 61.3 kB / 0.5578 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3449, allocations: 1.625 kB / 0.5578 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3449, allocations: 11.44 kB / 0.5578 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3449, allocations: 0 / 0.5578 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3451, allocations: 100.8 kB / 0.5579 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.3452, allocations: 169.5 kB / 0.5581 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.964e-05/0.3453, allocations: 76.06 kB / 0.5581 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.3454, allocations: 32.66 kB / 0.5582 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/0.3456, allocations: 404.6 kB / 0.5585 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.3456, allocations: 32.75 kB / 0.5586 GB, free: 33.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3456, allocations: 1.875 kB / 0.5586 GB, free: 33.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002365/0.3459, allocations: 115 kB / 0.5587 GB, free: 33.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.3459, allocations: 53.75 kB / 0.5587 GB, free: 33.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.152e-05/0.3459, allocations: 98.83 kB / 0.5588 GB, free: 33.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.3459, allocations: 30.39 kB / 0.5589 GB, free: 33.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.138e-05/0.3459, allocations: 82.58 kB / 0.5589 GB, free: 33.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.346, allocations: 24.97 kB / 0.559 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.346, allocations: 32.72 kB / 0.559 GB, free: 33.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.3461, allocations: 319.5 kB / 0.5593 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.3461, allocations: 20.44 kB / 0.5593 GB, free: 33.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.3462, allocations: 25.2 kB / 0.5593 GB, free: 33.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/0.3463, allocations: 57.62 kB / 0.5594 GB, free: 33.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3463, allocations: 0 / 0.5594 GB, free: 33.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001147/0.3464, allocations: 92.86 kB / 0.5595 GB, free: 32.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3464, allocations: 4.672 kB / 0.5595 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3464, allocations: 3.938 kB / 0.5595 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3464, allocations: 2.406 kB / 0.5595 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3465, allocations: 26.42 kB / 0.5595 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3465, allocations: 3.891 kB / 0.5595 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.3466, allocations: 6.438 kB / 0.5595 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3466, allocations: 4.188 kB / 0.5595 GB, free: 32.95 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 0.0001273/0.3467, allocations: 123.6 kB / 0.5597 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.3467, allocations: 5.375 kB / 0.5597 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.3469, allocations: 129.8 kB / 0.5598 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.347, allocations: 4.516 kB / 0.5598 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.347, allocations: 1.188 kB / 0.5598 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.347, allocations: 2.578 kB / 0.5598 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.972e-05/0.3471, allocations: 181.6 kB / 0.56 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3471, allocations: 0 / 0.56 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.3472, allocations: 18.2 kB / 0.56 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3472, allocations: 5.344 kB / 0.56 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3472, allocations: 1.438 kB / 0.56 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3472, allocations: 0.5625 kB / 0.56 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3472, allocations: 4.969 kB / 0.56 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.3473, allocations: 123.5 kB / 0.5601 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.3474, allocations: 87.64 kB / 0.5602 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3474, allocations: 7.469 kB / 0.5602 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.3474, allocations: 0 / 0.5602 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3474, allocations: 9.359 kB / 0.5602 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.3474, allocations: 2.75 kB / 0.5602 GB, free: 32.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.264e-05/0.3475, allocations: 75.94 kB / 0.5603 GB, free: 32.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3475, allocations: 1.125 kB / 0.5603 GB, free: 32.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.3477, allocations: 19.84 kB / 0.5603 GB, free: 32.27 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.0001477/0.3478, allocations: 113.8 kB / 0.5604 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.348, allocations: 65.36 kB / 0.5605 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.348, allocations: 0 / 0.5605 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.348, allocations: 37.81 kB / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.3482, allocations: 7.203 kB / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.3484, allocations: 184.1 kB / 0.5607 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3486, allocations: 0.6816 MB / 0.5614 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.3486, allocations: 19.89 kB / 0.5614 GB, free: 31.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3486, allocations: 0 / 0.5614 GB, free: 31.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002178/0.3508, allocations: 0.9314 MB / 0.5623 GB, free: 31.27 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)