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.398/1.398, allocations: 249.5 MB / 257 MB, free: 6.984 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.001089/0.001089, allocations: 180.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.00085/0.0008498, allocations: 86.48 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.499e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2249, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7855/1.01, allocations: 131.2 MB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.011, allocations: 74.83 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001812/1.013, allocations: 0.8203 MB / 1.014 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/1.013, allocations: 0 / 1.014 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.852e-06/1.013, allocations: 4 kB / 1.014 GB, free: 5.363 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.0002603/1.013, allocations: 331.5 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.013, allocations: 8.031 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/1.013, allocations: 4 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.202e-05/1.013, allocations: 167 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/1.013, allocations: 4.562 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/1.013, allocations: 4 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001556/1.013, allocations: 99.5 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/1.013, allocations: 53.55 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.013, allocations: 0 / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/1.013, allocations: 0 / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/1.013, allocations: 0.875 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/1.014, allocations: 157.7 kB / 1.015 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.383e-05/1.014, allocations: 62.25 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/1.014, allocations: 36.53 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/1.014, allocations: 401.5 kB / 1.016 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.014, allocations: 38.36 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/1.014, allocations: 0 / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002938/1.014, allocations: 85.44 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/1.014, allocations: 51.41 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/1.014, allocations: 96.72 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/1.014, allocations: 25.7 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/1.014, allocations: 88.31 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/1.015, allocations: 15.75 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/1.015, allocations: 4 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.015, allocations: 310.8 kB / 1.016 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/1.015, allocations: 23.86 kB / 1.016 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/1.015, allocations: 15.75 kB / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/1.015, allocations: 27.84 kB / 1.016 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.015, allocations: 0 / 1.016 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002219/1.015, allocations: 99.33 kB / 1.016 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.015, allocations: 8 kB / 1.016 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/1.015, allocations: 0 / 1.016 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.015, allocations: 0 / 1.016 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/1.015, allocations: 23.5 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.015, allocations: 7.922 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/1.015, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/1.015, allocations: 4 kB / 1.017 GB, free: 2.953 MB / 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.195e-05/1.015, allocations: 105 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002375/1.016, allocations: 105.2 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/1.016, allocations: 4 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/1.016, allocations: 122.5 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.016, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.016, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.016, allocations: 7.984 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/1.016, allocations: 138.1 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.016, allocations: 0 / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/1.016, allocations: 19.98 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.016, allocations: 11.89 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/1.016, allocations: 4 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.016, allocations: 0 / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.016, allocations: 0 / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/1.017, allocations: 121 kB / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/1.017, allocations: 81.11 kB / 1.017 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/1.017, allocations: 7.891 kB / 1.017 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/1.017, allocations: 0 / 1.017 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/1.017, allocations: 15.92 kB / 1.017 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/1.017, allocations: 4 kB / 1.017 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.609e-05/1.017, allocations: 75.28 kB / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 0 / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002223/1.017, allocations: 23.92 kB / 1.017 GB, free: 2.07 MB / 0.6355 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.0006674/1.018, allocations: 0.6726 MB / 1.018 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001172/1.018, allocations: 51.47 kB / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.018, allocations: 0 / 1.018 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.331e-05/1.018, allocations: 31.81 kB / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/1.018, allocations: 7.938 kB / 1.018 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/1.018, allocations: 129.1 kB / 1.018 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.019, allocations: 0.6924 MB / 1.019 GB, free: 444 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.412e-05/1.019, allocations: 35.81 kB / 1.019 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/1.019, allocations: 19.11 kB / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/1.019, allocations: 0 / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/1.037, allocations: 1.047 MB / 1.02 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/1.037, allocations: 171.3 kB / 1.02 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.365/2.401, allocations: 0 / 1.02 GB, free: 15.15 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)