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.0007662/0.0007663, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004893/0.004893, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.32/1.32, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.683/1.683, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004949/0.0004948, allocations: 16.88 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007415/0.2189, allocations: 323.5 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000289/0.2192, allocations: 59.78 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.305e-05/0.2192, allocations: 0 / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.2193, allocations: 0 / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-06/0.2193, allocations: 0 / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.2195, allocations: 11.98 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.699e-05/0.2196, allocations: 27.97 kB / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.2197, allocations: 7.984 kB / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.2197, allocations: 12 kB / 0.7883 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.772e-05/0.2198, allocations: 11.94 kB / 0.7883 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.2198, allocations: 7.984 kB / 0.7883 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.506e-05/0.2199, allocations: 15.98 kB / 0.7883 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.2199, allocations: 11.92 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.2199, allocations: 37.64 kB / 0.7884 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2201, allocations: 35.89 kB / 0.7884 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2201, allocations: 0 / 0.7884 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2201, allocations: 0 / 0.7884 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2201, allocations: 0 / 0.7884 GB, free: 10.97 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.0003053/0.2204, allocations: 327.9 kB / 0.7887 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2204, allocations: 12.03 kB / 0.7887 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.2205, allocations: 4.844 kB / 0.7888 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.2206, allocations: 172.2 kB / 0.7889 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2206, allocations: 4.375 kB / 0.7889 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2206, allocations: 4.375 kB / 0.7889 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.2208, allocations: 58.23 kB / 0.789 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2208, allocations: 4.125 kB / 0.789 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2208, allocations: 7.938 kB / 0.789 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2208, allocations: 4 kB / 0.789 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.221, allocations: 107.8 kB / 0.7891 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.2211, allocations: 165.7 kB / 0.7893 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2212, allocations: 74.53 kB / 0.7893 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.565e-05/0.2213, allocations: 28.84 kB / 0.7894 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.2217, allocations: 409.5 kB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2217, allocations: 30.56 kB / 0.7898 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.2217, allocations: 4 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000268/0.222, allocations: 133.7 kB / 0.7899 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.222, allocations: 55.41 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.2221, allocations: 89.86 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2221, allocations: 29.7 kB / 0.7901 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.2222, allocations: 80.14 kB / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2222, allocations: 19.66 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.2222, allocations: 29.7 kB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2223, allocations: 310.8 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.2224, allocations: 23.98 kB / 0.7905 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.2224, allocations: 19.98 kB / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.66e-05/0.2225, allocations: 65.42 kB / 0.7906 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2225, allocations: 3.938 kB / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001323/0.2227, allocations: 89.61 kB / 0.7907 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2227, allocations: 7.938 kB / 0.7907 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2227, allocations: 3.938 kB / 0.7907 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2227, allocations: 4 kB / 0.7907 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.942e-05/0.2228, allocations: 15.98 kB / 0.7907 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2229, allocations: 4 kB / 0.7907 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.2229, allocations: 11.91 kB / 0.7907 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2229, allocations: 4 kB / 0.7907 GB, free: 8.281 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 (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.0001239/0.223, allocations: 126.4 kB / 0.7909 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.2231, allocations: 4 kB / 0.7909 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.2233, allocations: 129.3 kB / 0.791 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2233, allocations: 11.98 kB / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2233, allocations: 0 / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2233, allocations: 0 / 0.791 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.2234, allocations: 169.7 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2234, allocations: 0 / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.2235, allocations: 19.98 kB / 0.7912 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2235, allocations: 3.938 kB / 0.7912 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.2235, allocations: 8 kB / 0.7912 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2235, allocations: 3.938 kB / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2235, allocations: 0 / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2237, allocations: 121 kB / 0.7913 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.2237, allocations: 92.89 kB / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.2238, allocations: 0 / 0.7914 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.65e-05/0.2238, allocations: 3.984 kB / 0.7914 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.2238, allocations: 8 kB / 0.7914 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.2238, allocations: 7.984 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.014e-05/0.2238, allocations: 75.28 kB / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2238, allocations: 0 / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001934/0.224, allocations: 16 kB / 0.7915 GB, free: 7.391 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 (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.0001574/0.2242, allocations: 111.2 kB / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.2243, allocations: 63.95 kB / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2243, allocations: 0 / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.2244, allocations: 39.86 kB / 0.7917 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.2245, allocations: 10.89 kB / 0.7917 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.2248, allocations: 155.5 kB / 0.7919 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.225, allocations: 0.6809 MB / 0.7925 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.2251, allocations: 35.94 kB / 0.7926 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.2251, allocations: 19.42 kB / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2251, allocations: 0 / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.002827/0.228, allocations: 0.5834 MB / 0.7932 GB, free: 5.648 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: