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.00112/0.00112, allocations: 102.4 kB / 16.27 MB, free: 6.418 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.001092/0.001092, allocations: 190 kB / 17.2 MB, free: 5.953 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.527/1.527, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.757/1.757, allocations: 292.3 MB / 0.5495 GB, free: 17.42 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.001471/0.001471, allocations: 71.91 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2321, allocations: 114.6 MB / 0.784 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002271/0.2345, allocations: 0.5786 MB / 0.7846 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003456/0.2348, allocations: 67.77 kB / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.2349, allocations: 0 / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.2349, allocations: 0 / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-06/0.235, allocations: 3.938 kB / 0.7847 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.2353, allocations: 15.98 kB / 0.7847 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.2354, allocations: 23.98 kB / 0.7847 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.2355, allocations: 7.984 kB / 0.7847 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.2355, allocations: 15.98 kB / 0.7847 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.125e-05/0.2355, allocations: 8 kB / 0.7847 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2355, allocations: 0 / 0.7847 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.2356, allocations: 15.98 kB / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.2357, allocations: 19.91 kB / 0.7848 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.2357, allocations: 11.94 kB / 0.7848 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2358, allocations: 35.89 kB / 0.7848 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2359, allocations: 0 / 0.7848 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2359, allocations: 0 / 0.7848 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2359, allocations: 0 / 0.7848 GB, free: 3.02 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.000402/0.2363, allocations: 339.8 kB / 0.7851 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2363, allocations: 12.03 kB / 0.7852 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.2364, allocations: 8.844 kB / 0.7852 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2365, allocations: 168.3 kB / 0.7853 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2365, allocations: 384 / 0.7853 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2365, allocations: 8.312 kB / 0.7853 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.2367, allocations: 62.22 kB / 0.7854 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2367, allocations: 192 / 0.7854 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2367, allocations: 7.938 kB / 0.7854 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.2368, allocations: 4 kB / 0.7854 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.2369, allocations: 107.8 kB / 0.7855 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.2371, allocations: 169.7 kB / 0.7857 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.2373, allocations: 70.55 kB / 0.7857 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.2373, allocations: 28.84 kB / 0.7858 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.2377, allocations: 409.5 kB / 0.7862 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.2378, allocations: 34.56 kB / 0.7862 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.2378, allocations: 4 kB / 0.7862 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0002973/0.2381, allocations: 121.7 kB / 0.7863 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.2381, allocations: 51.41 kB / 0.7864 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.2382, allocations: 93.86 kB / 0.7864 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.2382, allocations: 25.7 kB / 0.7865 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.2383, allocations: 84.14 kB / 0.7866 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.2383, allocations: 23.64 kB / 0.7866 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.2384, allocations: 33.7 kB / 0.7866 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2385, allocations: 322.8 kB / 0.7869 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.087e-05/0.2386, allocations: 19.98 kB / 0.7869 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.2386, allocations: 20.42 kB / 0.787 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.2387, allocations: 60.98 kB / 0.787 GB, free: 476 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2387, allocations: 0 / 0.787 GB, free: 476 kB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001556/0.2389, allocations: 93.55 kB / 0.7871 GB, free: 376 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2389, allocations: 8 kB / 0.7871 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2389, allocations: 3.938 kB / 0.7871 GB, free: 364 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.239, allocations: 0 / 0.7871 GB, free: 364 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2391, allocations: 19.98 kB / 0.7871 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.2391, allocations: 4 kB / 0.7871 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.386e-05/0.2391, allocations: 3.906 kB / 0.7871 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.2391, allocations: 8 kB / 0.7871 GB, free: 328 kB / 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.0001685/0.2393, allocations: 129.8 kB / 0.7873 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.2393, allocations: 4 kB / 0.7873 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.2396, allocations: 129.4 kB / 0.7874 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2396, allocations: 4 kB / 0.7874 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2396, allocations: 0 / 0.7874 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2396, allocations: 0 / 0.7874 GB, free: 44 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4099/0.6495, allocations: 175.7 kB / 0.7876 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6495, allocations: 2.188 kB / 0.7876 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.6496, allocations: 18.44 kB / 0.7876 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.6496, allocations: 3.75 kB / 0.7876 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6497, allocations: 6.359 kB / 0.7876 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6497, allocations: 0 / 0.7876 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6497, allocations: 1.219 kB / 0.7876 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.6499, allocations: 127.1 kB / 0.7877 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.6499, allocations: 87.86 kB / 0.7878 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.6499, allocations: 1.359 kB / 0.7878 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.65, allocations: 6.25 kB / 0.7878 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.65, allocations: 5.938 kB / 0.7878 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.65, allocations: 2.781 kB / 0.7878 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.476e-05/0.65, allocations: 77.91 kB / 0.7879 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.65, allocations: 0 / 0.7879 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002891/0.6503, allocations: 15 kB / 0.7879 GB, free: 48.99 MB / 0.6544 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.0001688/0.6505, allocations: 110.6 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.6507, allocations: 76.31 kB / 0.7881 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6507, allocations: 0.8438 kB / 0.7881 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.6507, allocations: 41.55 kB / 0.7881 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.6509, allocations: 13.97 kB / 0.7881 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.6511, allocations: 162.5 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.6512, allocations: 0.6837 MB / 0.789 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.6513, allocations: 13.81 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.6513, allocations: 1.469 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.002045/0.6533, allocations: 0.9525 MB / 0.7899 GB, free: 48.07 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)