Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 251.5 MB / 267.4 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 170.9 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205 MB / 0.5766 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008379/0.000838, allocations: 88.84 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 11.81 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001962/0.2807, allocations: 1.267 MB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004921/0.2812, allocations: 141.2 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.2813, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.2813, allocations: 0 / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.2814, allocations: 7.922 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.2817, allocations: 23.97 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.2818, allocations: 27.92 kB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2819, allocations: 19.94 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.2819, allocations: 15.92 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.2819, allocations: 19.91 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.282, allocations: 4 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.282, allocations: 11.98 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.2821, allocations: 4 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.2821, allocations: 15.88 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.025e-05/0.2822, allocations: 35.92 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2822, allocations: 0 / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.2822, allocations: 4 kB / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2822, allocations: 0 / 0.8983 GB, free: 66.61 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000438/0.2827, allocations: 339.5 kB / 0.8986 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2827, allocations: 8.031 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.2828, allocations: 8.844 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.849e-05/0.2829, allocations: 172.3 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.2829, allocations: 8.359 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.2829, allocations: 4.375 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2831, allocations: 66.23 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2832, allocations: 192 / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2832, allocations: 3.938 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2832, allocations: 0 / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.2834, allocations: 59.95 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.2837, allocations: 280.7 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.284, allocations: 66.61 kB / 0.8993 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/0.2842, allocations: 36.81 kB / 0.8993 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.2844, allocations: 393.5 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.2844, allocations: 34.56 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2844, allocations: 0 / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003787/0.2848, allocations: 117.6 kB / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2849, allocations: 51.41 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.2849, allocations: 109.8 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2849, allocations: 29.7 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.285, allocations: 91.98 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.285, allocations: 11.91 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.2851, allocations: 17.7 kB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.2851, allocations: 318.8 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/0.2852, allocations: 23.98 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.496e-05/0.2853, allocations: 31.97 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.2855, allocations: 52.81 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2855, allocations: 0 / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001937/0.2857, allocations: 89.59 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2857, allocations: 4 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2857, allocations: 0 / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.2857, allocations: 0 / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.2858, allocations: 19.98 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2858, allocations: 0 / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.2859, allocations: 15.98 kB / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.2859, allocations: 0 / 0.9007 GB, free: 63.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.088e-05/0.286, allocations: 117.7 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.286, allocations: 3.906 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.2862, allocations: 101.5 kB / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2862, allocations: 0 / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.2863, allocations: 0 / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2863, allocations: 0 / 0.9009 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2864, allocations: 165.6 kB / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2864, allocations: 0 / 0.901 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.2865, allocations: 23.98 kB / 0.901 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2865, allocations: 0 / 0.901 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2865, allocations: 4 kB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2865, allocations: 3.984 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2865, allocations: 4 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.2868, allocations: 183.8 kB / 0.9012 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.2868, allocations: 81.02 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2868, allocations: 4 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.2869, allocations: 7.984 kB / 0.9013 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.287, allocations: 16.02 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.287, allocations: 0 / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.287, allocations: 87.59 kB / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.287, allocations: 3.938 kB / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002098/0.2872, allocations: 19.98 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001588/0.2874, allocations: 99.25 kB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.2876, allocations: 59.95 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2876, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.2877, allocations: 31.91 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.288, allocations: 13.7 kB / 0.9016 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.2883, allocations: 148.9 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2884, allocations: 0.6809 MB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.2884, allocations: 15.44 kB / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.2884, allocations: 0 / 0.9025 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of Templates: time 0.001992/0.2904, allocations: 0.7752 MB / 0.9032 GB, free: 61.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)