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.001333/0.001339, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002243/0.002243, allocations: 192.5 kB / 16.13 MB, free: 6.711 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.393/1.393, allocations: 205.1 MB / 222 MB, free: 4.75 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.661/1.661, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.00129/0.00129, allocations: 66.78 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2546, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00227/0.257, allocations: 0.6509 MB / 0.7833 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000366/0.2574, allocations: 63.78 kB / 0.7834 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.2574, allocations: 4 kB / 0.7834 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.2574, allocations: 0 / 0.7834 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.2575, allocations: 0 / 0.7834 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.2578, allocations: 15.97 kB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.2579, allocations: 23.98 kB / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.2579, allocations: 0 / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.871e-05/0.2579, allocations: 19.97 kB / 0.7834 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.135e-05/0.258, allocations: 4 kB / 0.7834 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.258, allocations: 0 / 0.7834 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/0.2581, allocations: 15.98 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.2581, allocations: 23.92 kB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.2582, allocations: 15.92 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.2583, allocations: 35.89 kB / 0.7835 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2583, allocations: 0 / 0.7835 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2583, allocations: 0 / 0.7835 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2583, allocations: 0 / 0.7835 GB, free: 13.12 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.0003648/0.2587, allocations: 327.9 kB / 0.7838 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2587, allocations: 15.97 kB / 0.7839 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.2588, allocations: 4.844 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2589, allocations: 168.3 kB / 0.784 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2589, allocations: 12.38 kB / 0.784 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.2589, allocations: 4.375 kB / 0.784 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.2591, allocations: 58.23 kB / 0.7841 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2591, allocations: 4.125 kB / 0.7841 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2591, allocations: 3.938 kB / 0.7841 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2591, allocations: 0 / 0.7841 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.2593, allocations: 107.8 kB / 0.7842 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.2595, allocations: 169.7 kB / 0.7844 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2596, allocations: 74.55 kB / 0.7844 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.2597, allocations: 36.84 kB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003858/0.2601, allocations: 401.5 kB / 0.7849 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.2601, allocations: 38.55 kB / 0.7849 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.2601, allocations: 3.984 kB / 0.7849 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0002677/0.2604, allocations: 129.6 kB / 0.785 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.2605, allocations: 55.41 kB / 0.7851 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.407e-05/0.2605, allocations: 93.86 kB / 0.7852 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.2605, allocations: 29.7 kB / 0.7852 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.2606, allocations: 80.14 kB / 0.7853 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.2606, allocations: 23.66 kB / 0.7853 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.2606, allocations: 33.7 kB / 0.7853 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.2607, allocations: 314.8 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.2608, allocations: 19.98 kB / 0.7856 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.2608, allocations: 19.98 kB / 0.7857 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.34e-05/0.2609, allocations: 60.78 kB / 0.7857 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2609, allocations: 4 kB / 0.7857 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001405/0.2611, allocations: 93.59 kB / 0.7858 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2611, allocations: 8 kB / 0.7858 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2611, allocations: 3.938 kB / 0.7858 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2611, allocations: 0 / 0.7858 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.2613, allocations: 23.98 kB / 0.7858 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2613, allocations: 0 / 0.7858 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.2613, allocations: 3.906 kB / 0.7858 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2613, allocations: 4 kB / 0.7858 GB, free: 10.43 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.0001581/0.2615, allocations: 130.4 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.2615, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.2617, allocations: 137.3 kB / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2617, allocations: 0 / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2618, allocations: 0 / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2618, allocations: 0 / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.2619, allocations: 165.7 kB / 0.7863 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2619, allocations: 8 kB / 0.7863 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.262, allocations: 15.98 kB / 0.7863 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.262, allocations: 15.88 kB / 0.7863 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.262, allocations: 4 kB / 0.7863 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.262, allocations: 0 / 0.7863 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.262, allocations: 0 / 0.7863 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.2622, allocations: 121.9 kB / 0.7864 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.2622, allocations: 88.89 kB / 0.7865 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.2622, allocations: 4 kB / 0.7865 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.2623, allocations: 4 kB / 0.7865 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.2623, allocations: 11.98 kB / 0.7865 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2623, allocations: 0 / 0.7865 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.2623, allocations: 75.28 kB / 0.7866 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2624, allocations: 0 / 0.7866 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000203/0.2626, allocations: 16 kB / 0.7866 GB, free: 9.539 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.0001853/0.2628, allocations: 131.1 kB / 0.7867 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.2629, allocations: 56.02 kB / 0.7868 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2629, allocations: 0 / 0.7868 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.263, allocations: 39.86 kB / 0.7868 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.2631, allocations: 14.89 kB / 0.7868 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.2634, allocations: 150.7 kB / 0.787 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.2637, allocations: 0.6848 MB / 0.7877 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.073e-05/0.2637, allocations: 35.94 kB / 0.7877 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.2638, allocations: 15.44 kB / 0.7877 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.2638, allocations: 0 / 0.7877 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of Templates: time 0.002793/0.2666, allocations: 0.5876 MB / 0.7883 GB, free: 7.777 MB / 0.6075 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)