Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009814/0.0009815, allocations: 109.2 kB / 16.37 MB, free: 6.305 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.000955/0.000955, allocations: 189.8 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 71.91 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001903/0.236, allocations: 0.586 MB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002711/0.2362, allocations: 59.78 kB / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.2363, allocations: 4 kB / 0.7854 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.2363, allocations: 3.938 kB / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.21e-06/0.2363, allocations: 0 / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.2366, allocations: 11.97 kB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.2367, allocations: 31.98 kB / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.2368, allocations: 7.984 kB / 0.7855 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.2368, allocations: 8 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.906e-05/0.2368, allocations: 11.97 kB / 0.7855 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2369, allocations: 4 kB / 0.7855 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.2369, allocations: 23.92 kB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.237, allocations: 11.98 kB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.237, allocations: 11.94 kB / 0.7856 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.843e-05/0.2371, allocations: 43.81 kB / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2371, allocations: 0 / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2371, allocations: 0 / 0.7856 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2371, allocations: 7.938 kB / 0.7856 GB, free: 2.328 MB / 0.6544 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.0003279/0.2375, allocations: 335.6 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2375, allocations: 8.031 kB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.2376, allocations: 8.844 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.2376, allocations: 164.3 kB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2377, allocations: 4.375 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.2377, allocations: 4.375 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.2378, allocations: 70.16 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2378, allocations: 192 / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2379, allocations: 7.938 kB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2379, allocations: 0 / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.238, allocations: 111.7 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.2382, allocations: 165.7 kB / 0.7864 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.2383, allocations: 70.55 kB / 0.7865 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.2383, allocations: 32.84 kB / 0.7865 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.2387, allocations: 401.5 kB / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2387, allocations: 38.56 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.2387, allocations: 0 / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0002298/0.2389, allocations: 121.7 kB / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.239, allocations: 51.41 kB / 0.7871 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.127e-05/0.239, allocations: 101.8 kB / 0.7872 GB, free: 392 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.239, allocations: 25.7 kB / 0.7872 GB, free: 360 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.2391, allocations: 84.12 kB / 0.7873 GB, free: 272 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.2391, allocations: 23.66 kB / 0.7874 GB, free: 248 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.2391, allocations: 33.7 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3959/0.6351, allocations: 314.8 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.148e-05/0.6352, allocations: 18.8 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.6352, allocations: 24.19 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.6353, allocations: 57.84 kB / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6354, allocations: 0 / 0.7878 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001472/0.6355, allocations: 95.09 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6355, allocations: 6.25 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.6355, allocations: 1.125 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6356, allocations: 0.75 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.6357, allocations: 20.02 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.6357, allocations: 3.75 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.6357, allocations: 10.22 kB / 0.7879 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.6357, allocations: 5.312 kB / 0.7879 GB, free: 48.49 MB / 0.6544 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.0001409/0.6359, allocations: 124.5 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.6359, allocations: 2.062 kB / 0.788 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.6361, allocations: 118.7 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6361, allocations: 11.48 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6361, allocations: 0 / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.6362, allocations: 86.94 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.6362, allocations: 5.438 kB / 0.7882 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.6362, allocations: 4.062 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.6362, allocations: 7.719 kB / 0.7883 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000128/0.6364, allocations: 183.3 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000135/0.6365, allocations: 268.5 kB / 0.7887 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.674e-05/0.6366, allocations: 35.36 kB / 0.7887 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.269e-05/0.6366, allocations: 75.28 kB / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of Backend: time 5.01e-07/0.6366, allocations: 0 / 0.7888 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.637, allocations: 119 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002656/0.6373, allocations: 0.5732 MB / 0.7895 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.002422/0.6397, allocations: 0.8211 MB / 0.7903 GB, free: 47.23 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)