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.001147/0.001147, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001045/0.001046, allocations: 168.7 kB / 15.95 MB, free: 204 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.648/1.648, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.794/1.794, allocations: 292.7 MB / 0.5499 GB, free: 14.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.0005113/0.0005113, allocations: 15.16 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2422, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007206/0.2429, allocations: 319.5 kB / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000267/0.2432, allocations: 55.83 kB / 0.7877 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.2432, allocations: 0 / 0.7877 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.2433, allocations: 0 / 0.7877 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-06/0.2433, allocations: 0 / 0.7877 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2436, allocations: 11.98 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.209e-05/0.2436, allocations: 31.97 kB / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.2437, allocations: 0 / 0.7877 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.2437, allocations: 7.938 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.566e-05/0.2438, allocations: 27.91 kB / 0.7877 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2438, allocations: 0 / 0.7877 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.2439, allocations: 15.98 kB / 0.7877 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.2439, allocations: 8 kB / 0.7878 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.539e-05/0.2439, allocations: 29.7 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.559e-05/0.244, allocations: 19.95 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.244, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.944e-06/0.244, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.244, allocations: 0 / 0.7878 GB, free: 11.41 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.0003255/0.2444, allocations: 327.7 kB / 0.7881 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2444, allocations: 19.97 kB / 0.7881 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.2445, allocations: 7.906 kB / 0.7881 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.94e-05/0.2446, allocations: 171 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2446, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.2446, allocations: 4 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2448, allocations: 65.59 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2448, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2448, allocations: 4 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2448, allocations: 4 kB / 0.7884 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.245, allocations: 103.8 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.2452, allocations: 177.6 kB / 0.7886 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.2453, allocations: 74.53 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.2453, allocations: 28.84 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.2457, allocations: 405.5 kB / 0.7891 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2457, allocations: 30.56 kB / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.2457, allocations: 0 / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002634/0.246, allocations: 121.8 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.246, allocations: 59.39 kB / 0.7893 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.186e-05/0.2461, allocations: 97.8 kB / 0.7894 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2461, allocations: 29.7 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.2462, allocations: 80.33 kB / 0.7895 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.2462, allocations: 23.66 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.2462, allocations: 0 / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2463, allocations: 318.8 kB / 0.7899 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.2464, allocations: 19.98 kB / 0.7899 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.2464, allocations: 23.98 kB / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.2465, allocations: 24 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2465, allocations: 3.984 kB / 0.7899 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000125/0.2466, allocations: 97.5 kB / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2466, allocations: 4 kB / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2466, allocations: 0 / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2467, allocations: 0 / 0.79 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.2468, allocations: 23.98 kB / 0.79 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2468, allocations: 0 / 0.79 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.2468, allocations: 7.906 kB / 0.7901 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.2468, allocations: 4 kB / 0.7901 GB, free: 8.781 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.0001257/0.2469, allocations: 122.5 kB / 0.7902 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.247, allocations: 11.94 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.2472, allocations: 130.3 kB / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2472, allocations: 3.938 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2472, allocations: 0 / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2472, allocations: 8 kB / 0.7903 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.2473, allocations: 169.6 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2473, allocations: 0 / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.2474, allocations: 19.98 kB / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2474, allocations: 3.953 kB / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2475, allocations: 4 kB / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2475, allocations: 0 / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2475, allocations: 4 kB / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.2476, allocations: 129.4 kB / 0.7906 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.2477, allocations: 81.05 kB / 0.7907 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2477, allocations: 3.953 kB / 0.7907 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.2477, allocations: 8 kB / 0.7907 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.2478, allocations: 7.984 kB / 0.7907 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2478, allocations: 7.938 kB / 0.7907 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.344e-05/0.2478, allocations: 79.28 kB / 0.7908 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2478, allocations: 0 / 0.7908 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001937/0.248, allocations: 12 kB / 0.7908 GB, free: 7.887 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.0001592/0.2482, allocations: 119.2 kB / 0.7909 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.2483, allocations: 55.91 kB / 0.791 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2483, allocations: 3.938 kB / 0.791 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.2484, allocations: 35.92 kB / 0.791 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.2485, allocations: 4 kB / 0.791 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.2488, allocations: 161.7 kB / 0.7912 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.249, allocations: 0.6809 MB / 0.7919 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.103e-05/0.2491, allocations: 35.94 kB / 0.7919 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.2491, allocations: 15.44 kB / 0.7919 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2491, allocations: 0 / 0.7919 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.002546/0.2517, allocations: 0.5715 MB / 0.7925 GB, free: 6.156 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: