Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001135/0.001135, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001191/0.001191, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 292.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8897/0.8897, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 103.8 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3689, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001514/0.3705, allocations: 0.5785 MB / 0.7677 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.3707, allocations: 59.77 kB / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.3708, allocations: 0 / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.3708, allocations: 0 / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-06/0.3708, allocations: 0 / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.3711, allocations: 23.92 kB / 0.7677 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.3711, allocations: 31.97 kB / 0.7678 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.3712, allocations: 3.984 kB / 0.7678 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.85e-05/0.3712, allocations: 11.94 kB / 0.7678 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.695e-05/0.3712, allocations: 19.91 kB / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3713, allocations: 4 kB / 0.7678 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.3713, allocations: 19.98 kB / 0.7678 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.3714, allocations: 8 kB / 0.7678 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.3714, allocations: 7.938 kB / 0.7678 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.14e-05/0.3715, allocations: 35.89 kB / 0.7679 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3715, allocations: 0 / 0.7679 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3715, allocations: 0 / 0.7679 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.3715, allocations: 4 kB / 0.7679 GB, free: 3.117 MB / 0.5294 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.0002949/0.3718, allocations: 343.2 kB / 0.7682 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3719, allocations: 8.031 kB / 0.7682 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3719, allocations: 8.844 kB / 0.7682 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.77e-05/0.372, allocations: 164.4 kB / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.372, allocations: 384 / 0.7684 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.372, allocations: 8.375 kB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.3722, allocations: 66.16 kB / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3722, allocations: 192 / 0.7685 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3722, allocations: 7.938 kB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3722, allocations: 0 / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3723, allocations: 103.9 kB / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.3725, allocations: 169.7 kB / 0.7687 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3726, allocations: 74.55 kB / 0.7688 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.3727, allocations: 33.11 kB / 0.7688 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.373, allocations: 401.5 kB / 0.7692 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.373, allocations: 38.5 kB / 0.7692 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.373, allocations: 0 / 0.7692 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002264/0.3732, allocations: 117.5 kB / 0.7694 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.3733, allocations: 51.41 kB / 0.7694 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.605e-05/0.3733, allocations: 97.84 kB / 0.7695 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3733, allocations: 33.7 kB / 0.7695 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.3734, allocations: 80.14 kB / 0.7696 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3734, allocations: 26.19 kB / 0.7696 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3734, allocations: 29.7 kB / 0.7697 GB, free: 1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.3735, allocations: 314.8 kB / 0.77 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.397e-05/0.3736, allocations: 23.92 kB / 0.77 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.3736, allocations: 23.92 kB / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.3737, allocations: 69.42 kB / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3737, allocations: 0 / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001262/0.3739, allocations: 93.55 kB / 0.7702 GB, free: 480 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.3739, allocations: 4 kB / 0.7702 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3739, allocations: 0 / 0.7702 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3739, allocations: 7.922 kB / 0.7702 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.374, allocations: 27.92 kB / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.374, allocations: 0 / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.3741, allocations: 11.91 kB / 0.7702 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3741, allocations: 0 / 0.7702 GB, free: 428 kB / 0.5294 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 9.928e-05/0.3742, allocations: 125.8 kB / 0.7703 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.3742, allocations: 4 kB / 0.7703 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.3744, allocations: 117.5 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3744, allocations: 3.984 kB / 0.7704 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3744, allocations: 3.938 kB / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.3744, allocations: 88.95 kB / 0.7705 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3745, allocations: 4 kB / 0.7705 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.616e-05/0.3745, allocations: 0 / 0.7705 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.3745, allocations: 11.98 kB / 0.7706 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001687/0.3747, allocations: 176.9 kB / 0.7707 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000185/0.3749, allocations: 274.6 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.808e-05/0.3749, allocations: 27.97 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.375, allocations: 79.28 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.375, allocations: 4 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.3754, allocations: 123.6 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004395/0.3758, allocations: 0.5722 MB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of Templates: time 0.002662/0.3785, allocations: 0.8247 MB / 0.7726 GB, free: 13.89 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)