Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001627/0.001627, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002013/0.002013, allocations: 195.8 kB / 16.14 MB, free: 6.66 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.5/1.5, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.762/2.762, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 66.92 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3664, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001897/0.3684, allocations: 0.6502 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.3687, allocations: 59.78 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.3687, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.3688, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.3688, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.369, allocations: 15.92 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.3691, allocations: 31.95 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.3691, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.3692, allocations: 8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.721e-05/0.3692, allocations: 19.97 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.3692, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.557e-05/0.3693, allocations: 12 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.3693, allocations: 11.98 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.3693, allocations: 15.88 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.144e-05/0.3694, allocations: 35.89 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3695, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3695, allocations: 4 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.3695, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB 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.0003722/0.3698, allocations: 331.6 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3699, allocations: 12.03 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3699, allocations: 8.844 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3701, allocations: 164.6 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3701, allocations: 4.375 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3701, allocations: 8.312 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.3703, allocations: 66.22 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.3703, allocations: 192 / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3703, allocations: 3.938 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3703, allocations: 0 / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3704, allocations: 99.88 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.3707, allocations: 181.6 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3708, allocations: 80.59 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.3708, allocations: 36.84 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/0.3712, allocations: 401.5 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3712, allocations: 34.56 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3712, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0002306/0.3715, allocations: 121.8 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.3715, allocations: 51.41 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.948e-05/0.3715, allocations: 101.8 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3716, allocations: 25.7 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.3716, allocations: 80.14 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.3716, allocations: 23.66 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.3717, allocations: 33.7 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.3718, allocations: 314.8 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.528e-05/0.3718, allocations: 23.98 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.3719, allocations: 23.98 kB / 1.07 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.225e-05/0.372, allocations: 61.48 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.372, allocations: 0 / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001321/0.3721, allocations: 93.55 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3721, allocations: 5.25 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3721, allocations: 3.938 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3722, allocations: 0 / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3723, allocations: 27.92 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3723, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.3723, allocations: 11.91 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3723, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB 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.0001181/0.3724, allocations: 121.8 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.3725, allocations: 4 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.3727, allocations: 133.3 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3727, allocations: 4 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3728, allocations: 4 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3728, allocations: 3.984 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.3729, allocations: 173.5 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.3729, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.373, allocations: 23.98 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.373, allocations: 3.938 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.373, allocations: 4 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.373, allocations: 0 / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.373, allocations: 0 / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3732, allocations: 125 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.3732, allocations: 88.95 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3732, allocations: 3.938 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.3732, allocations: 4 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.3733, allocations: 7.984 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.3733, allocations: 4 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.3733, allocations: 75.28 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3733, allocations: 0 / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001992/0.3735, allocations: 16 kB / 1.071 GB, free: 6.426 MB / 0.8262 GB 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.0001804/0.3737, allocations: 122.8 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.3739, allocations: 59.91 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3739, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.3739, allocations: 35.97 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.3741, allocations: 9.656 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.3743, allocations: 162.6 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3746, allocations: 0.6848 MB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.567e-05/0.3746, allocations: 39.59 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.3747, allocations: 15.42 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3747, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of Templates: time 0.002629/0.3773, allocations: 0.5908 MB / 1.073 GB, free: 4.656 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)