Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.6/1.6, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 182.3 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0007924/0.0007927, allocations: 90.52 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.942e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2406, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8492/1.09, allocations: 130.9 MB / 1.02 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/1.09, allocations: 71.77 kB / 1.02 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002179/1.092, allocations: 0.8244 MB / 1.021 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.903e-06/1.092, allocations: 4 kB / 1.021 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.802e-06/1.092, allocations: 0 / 1.021 GB, free: 2.992 MB / 0.6355 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.000319/1.093, allocations: 330.2 kB / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.093, allocations: 12.03 kB / 1.021 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/1.093, allocations: 33.69 kB / 1.021 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/1.093, allocations: 4 kB / 1.021 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/1.093, allocations: 167 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/1.093, allocations: 6.688 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/1.093, allocations: 4 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/1.093, allocations: 64.3 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.093, allocations: 0 / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.093, allocations: 11.55 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.093, allocations: 0 / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/1.094, allocations: 102.1 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/1.094, allocations: 176.3 kB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/1.094, allocations: 73.61 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/1.094, allocations: 35.05 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/1.094, allocations: 401.5 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/1.094, allocations: 34.56 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/1.094, allocations: 0 / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002367/1.095, allocations: 89.47 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/1.095, allocations: 51.41 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.671e-05/1.095, allocations: 96.16 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.095, allocations: 28.83 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/1.095, allocations: 80.33 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/1.095, allocations: 22.42 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.095, allocations: 0 / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.095, allocations: 317.3 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/1.095, allocations: 23.36 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/1.095, allocations: 24.95 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/1.095, allocations: 22.8 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/1.095, allocations: 7.891 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001376/1.095, allocations: 95.38 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.095, allocations: 4 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.095, allocations: 0 / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.095, allocations: 0 / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/1.095, allocations: 23.98 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.095, allocations: 0 / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/1.095, allocations: 7.562 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/1.095, allocations: 0 / 1.023 GB, free: 500 kB / 0.6355 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 () * 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 9.931e-05/1.096, allocations: 116.1 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/1.096, allocations: 7.859 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/1.096, allocations: 131.9 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.096, allocations: 3.984 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.096, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.096, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/1.096, allocations: 168.5 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.096, allocations: 0 / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/1.096, allocations: 27.88 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/1.096, allocations: 0 / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/1.096, allocations: 4 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.096, allocations: 0 / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.096, allocations: 4.859 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/1.096, allocations: 119.8 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/1.096, allocations: 81.02 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/1.096, allocations: 7.891 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/1.096, allocations: 7.984 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/1.096, allocations: 4 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/1.096, allocations: 7.672 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.481e-05/1.097, allocations: 78 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.094e-06/1.097, allocations: 8 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001859/1.097, allocations: 27.81 kB / 1.024 GB, free: 15.65 MB / 0.6511 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 () * 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.0005966/1.097, allocations: 0.6599 MB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001919/1.098, allocations: 65.53 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.098, allocations: 4 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/1.098, allocations: 35.44 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.684e-05/1.098, allocations: 7.953 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/1.098, allocations: 134.7 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/1.098, allocations: 0.6887 MB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.082e-05/1.098, allocations: 39.75 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/1.099, allocations: 26.36 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.099, allocations: 3.938 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/1.111, allocations: 1.35 MB / 1.027 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/1.111, allocations: 176.8 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.658, allocations: 2.109 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)