Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 288.2 MB / 303.2 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 189 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 0.6305 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 93.19 kB / 0.7439 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005058, allocations: 16.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2896, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8428/1.133, allocations: 137.3 MB / 1.114 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/1.133, allocations: 73.58 kB / 1.114 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002422/1.135, allocations: 0.8182 MB / 1.114 GB, free: 32.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/1.135, allocations: 0 / 1.114 GB, free: 32.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.135, allocations: 0 / 1.114 GB, free: 32.02 MB / 0.698 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.0002971/1.136, allocations: 344 kB / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.136, allocations: 11.67 kB / 1.115 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/1.136, allocations: 41.91 kB / 1.115 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/1.136, allocations: 6.938 kB / 1.115 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.437e-05/1.136, allocations: 169.5 kB / 1.115 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.136, allocations: 7.812 kB / 1.115 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/1.136, allocations: 3.844 kB / 1.115 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/1.136, allocations: 61.17 kB / 1.115 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.136, allocations: 0 / 1.115 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/1.136, allocations: 11.81 kB / 1.115 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.136, allocations: 0 / 1.115 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/1.136, allocations: 108.2 kB / 1.115 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/1.136, allocations: 169.7 kB / 1.115 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.626e-05/1.136, allocations: 79.59 kB / 1.115 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/1.137, allocations: 398.6 kB / 1.116 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/1.137, allocations: 34.5 kB / 1.116 GB, free: 30.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/1.137, allocations: 4 kB / 1.116 GB, free: 30.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002467/1.137, allocations: 114 kB / 1.116 GB, free: 30.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/1.137, allocations: 54.72 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.2e-05/1.137, allocations: 88.69 kB / 1.116 GB, free: 30.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/1.137, allocations: 25.7 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/1.137, allocations: 80.55 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/1.137, allocations: 26.72 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/1.137, allocations: 7.812 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.137, allocations: 313.8 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/1.137, allocations: 20.98 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/1.137, allocations: 22.3 kB / 1.117 GB, free: 29.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/1.137, allocations: 27.48 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.137, allocations: 0 / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001117/1.138, allocations: 98.38 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.138, allocations: 3.688 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/1.138, allocations: 3.844 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.138, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/1.138, allocations: 21.44 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/1.138, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/1.138, allocations: 7.938 kB / 1.117 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/1.138, allocations: 3.844 kB / 1.117 GB, free: 29.94 MB / 0.698 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 9.361e-05/1.138, allocations: 120.5 kB / 1.117 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/1.138, allocations: 11.7 kB / 1.117 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/1.138, allocations: 123.2 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.138, allocations: 7.875 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.138, allocations: 4 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.138, allocations: 0 / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/1.138, allocations: 173.3 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.138, allocations: 3.719 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/1.138, allocations: 18.47 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.138, allocations: 3.938 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/1.138, allocations: 3.953 kB / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.138, allocations: 0 / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.138, allocations: 0 / 1.117 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/1.139, allocations: 131.6 kB / 1.117 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/1.139, allocations: 81.05 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/1.139, allocations: 3.844 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/1.139, allocations: 7.766 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/1.139, allocations: 6.5 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/1.139, allocations: 7.203 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.649e-05/1.139, allocations: 75.28 kB / 1.117 GB, free: 29.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/1.139, allocations: 0 / 1.117 GB, free: 29.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001898/1.139, allocations: 23.22 kB / 1.117 GB, free: 29.31 MB / 0.698 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.0004717/1.139, allocations: 0.6747 MB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001155/1.139, allocations: 57.75 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/1.139, allocations: 0 / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.962e-05/1.14, allocations: 40.78 kB / 1.118 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.975e-05/1.14, allocations: 8.109 kB / 1.118 GB, free: 28.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/1.14, allocations: 192.7 kB / 1.118 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/1.14, allocations: 0.685 MB / 1.119 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.155e-05/1.14, allocations: 37.2 kB / 1.119 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/1.14, allocations: 21.58 kB / 1.119 GB, free: 27.82 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.14, allocations: 0 / 1.119 GB, free: 27.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/1.152, allocations: 1.334 MB / 1.12 GB, free: 27.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001281/1.153, allocations: 198.3 kB / 1.121 GB, free: 27.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.639, allocations: 0 / 1.121 GB, free: 27.42 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)