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.001054/0.001054, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001204/0.001204, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.79/1.79, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.000512/0.000512, allocations: 18.03 kB / 0.6736 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2708, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001055/0.2719, allocations: 321.8 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.2722, allocations: 53.5 kB / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.2722, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.2723, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.659e-06/0.2723, allocations: 0 / 0.7875 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2727, allocations: 15.97 kB / 0.7875 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.2728, allocations: 19.98 kB / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.2728, allocations: 3.938 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.2729, allocations: 15.98 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.2729, allocations: 7.984 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.2729, allocations: 3.938 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.196e-05/0.273, allocations: 19.92 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.2731, allocations: 15.98 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.2731, allocations: 29.7 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.429e-05/0.2732, allocations: 15.97 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2732, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2732, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2733, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 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.0004299/0.2737, allocations: 327.7 kB / 0.7879 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.2737, allocations: 12.03 kB / 0.7879 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.2738, allocations: 3.906 kB / 0.7879 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2739, allocations: 174.9 kB / 0.7881 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.274, allocations: 8 kB / 0.7881 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.274, allocations: 8 kB / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.2742, allocations: 57.67 kB / 0.7882 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2742, allocations: 0 / 0.7882 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2742, allocations: 0 / 0.7882 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2742, allocations: 0 / 0.7882 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.2744, allocations: 107.8 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.2747, allocations: 173.6 kB / 0.7885 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2748, allocations: 82.47 kB / 0.7885 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003755/0.2752, allocations: 401.5 kB / 0.7889 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.2752, allocations: 34.56 kB / 0.7889 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.203e-06/0.2752, allocations: 0 / 0.7889 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002486/0.2755, allocations: 113.5 kB / 0.7891 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.2755, allocations: 55.67 kB / 0.7891 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.455e-05/0.2756, allocations: 97.86 kB / 0.7892 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2756, allocations: 29.64 kB / 0.7892 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.2756, allocations: 84.33 kB / 0.7893 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.2757, allocations: 23.66 kB / 0.7893 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.2757, allocations: 0 / 0.7893 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2758, allocations: 318.8 kB / 0.7896 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.2759, allocations: 19.98 kB / 0.7897 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.2759, allocations: 19.98 kB / 0.7897 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.276, allocations: 23.98 kB / 0.7897 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.276, allocations: 0 / 0.7897 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001264/0.2761, allocations: 101.5 kB / 0.7898 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.2761, allocations: 8 kB / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2761, allocations: 0 / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2761, allocations: 0 / 0.7898 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2763, allocations: 23.92 kB / 0.7898 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2763, allocations: 0 / 0.7898 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.2763, allocations: 7.906 kB / 0.7898 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.2763, allocations: 4 kB / 0.7898 GB, free: 8.879 MB / 0.6075 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.2765, allocations: 123.2 kB / 0.79 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2765, allocations: 11.95 kB / 0.79 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.2767, allocations: 125.6 kB / 0.7901 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2767, allocations: 0 / 0.7901 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2767, allocations: 0 / 0.7901 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2767, allocations: 4 kB / 0.7901 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2769, allocations: 173.6 kB / 0.7903 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2769, allocations: 7.938 kB / 0.7903 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.2769, allocations: 19.98 kB / 0.7903 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2769, allocations: 4 kB / 0.7903 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.277, allocations: 3.953 kB / 0.7903 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.277, allocations: 0 / 0.7903 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.277, allocations: 4 kB / 0.7903 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.2771, allocations: 122.2 kB / 0.7904 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.2772, allocations: 81.05 kB / 0.7905 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.2772, allocations: 8 kB / 0.7905 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/0.2772, allocations: 3.953 kB / 0.7905 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.2773, allocations: 11.98 kB / 0.7905 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.2773, allocations: 4 kB / 0.7905 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.2773, allocations: 79.28 kB / 0.7906 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2773, allocations: 0 / 0.7906 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001888/0.2775, allocations: 8 kB / 0.7906 GB, free: 7.996 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.2777, allocations: 119.2 kB / 0.7907 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2779, allocations: 59.95 kB / 0.7908 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2779, allocations: 4 kB / 0.7908 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.2779, allocations: 39.97 kB / 0.7908 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.591e-05/0.278, allocations: 0 / 0.7908 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.2783, allocations: 146.6 kB / 0.791 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2787, allocations: 0.6926 MB / 0.7916 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.706e-05/0.2787, allocations: 43.92 kB / 0.7917 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.2788, allocations: 15.44 kB / 0.7917 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2788, allocations: 0 / 0.7917 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of Templates: time 0.00279/0.2816, allocations: 0.5521 MB / 0.7922 GB, free: 6.273 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: