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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.996/1.996, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001141/0.001141, allocations: 179.2 kB / 371.6 MB, free: 3.387 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.676/1.676, allocations: 205.2 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 95.27 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.602e-05/4.632e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2652, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7544/1.02, allocations: 138.2 MB / 1.115 GB, free: 45.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/1.02, allocations: 72.81 kB / 1.115 GB, free: 45.17 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001687/1.022, allocations: 0.8296 MB / 1.116 GB, free: 44.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/1.022, allocations: 0 / 1.116 GB, free: 44.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.23e-06/1.022, allocations: 0.6875 kB / 1.116 GB, free: 44.59 MB / 0.7448 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.0002044/1.022, allocations: 329.4 kB / 1.116 GB, free: 44.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.022, allocations: 15.41 kB / 1.116 GB, free: 44.23 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/1.022, allocations: 31.41 kB / 1.116 GB, free: 44.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/1.022, allocations: 5.719 kB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.945e-05/1.022, allocations: 159.1 kB / 1.116 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/1.022, allocations: 8.484 kB / 1.116 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.022, allocations: 4.5 kB / 1.116 GB, free: 43.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/1.022, allocations: 71.67 kB / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.022, allocations: 0 / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/1.022, allocations: 4.312 kB / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.022, allocations: 0 / 1.116 GB, free: 43.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/1.022, allocations: 98.98 kB / 1.116 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/1.022, allocations: 175.1 kB / 1.117 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.06e-05/1.022, allocations: 75.59 kB / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/1.023, allocations: 28.88 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/1.023, allocations: 409 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/1.023, allocations: 35.56 kB / 1.117 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.435e-06/1.023, allocations: 1.406 kB / 1.117 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001762/1.023, allocations: 92.36 kB / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/1.023, allocations: 51.41 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.004e-05/1.023, allocations: 94.09 kB / 1.117 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/1.023, allocations: 25.7 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.135e-05/1.023, allocations: 80.33 kB / 1.117 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/1.023, allocations: 31.67 kB / 1.117 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/1.023, allocations: 3.875 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/1.023, allocations: 310.8 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/1.023, allocations: 23.28 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/1.023, allocations: 16.75 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/1.023, allocations: 31.97 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.023, allocations: 0 / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001069/1.023, allocations: 95.42 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.023, allocations: 4 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.023, allocations: 0 / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.023, allocations: 4.562 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/1.024, allocations: 19.33 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.024, allocations: 0.7031 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/1.024, allocations: 7.938 kB / 1.118 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/1.024, allocations: 0 / 1.118 GB, free: 42.22 MB / 0.7448 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 5.517e-05/1.024, allocations: 118.4 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/1.024, allocations: 9.172 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/1.024, allocations: 130.7 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/1.024, allocations: 0 / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.024, allocations: 1.062 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.024, allocations: 0.7031 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.994e-05/1.024, allocations: 172.1 kB / 1.118 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.024, allocations: 4 kB / 1.118 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/1.024, allocations: 19.36 kB / 1.118 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.024, allocations: 8.703 kB / 1.118 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/1.024, allocations: 7.266 kB / 1.118 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.024, allocations: 4.938 kB / 1.118 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.024, allocations: 0 / 1.118 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/1.024, allocations: 120.8 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/1.024, allocations: 77.11 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/1.024, allocations: 3.953 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/1.024, allocations: 12.97 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/1.024, allocations: 8.219 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.024, allocations: 0.625 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.684e-05/1.024, allocations: 82 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.024, allocations: 4 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001895/1.025, allocations: 27 kB / 1.119 GB, free: 41.45 MB / 0.7448 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.0003594/1.025, allocations: 0.6602 MB / 1.119 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001447/1.025, allocations: 63.58 kB / 1.119 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.025, allocations: 0 / 1.119 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/1.025, allocations: 32.88 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.758e-05/1.025, allocations: 16.7 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/1.026, allocations: 139 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/1.026, allocations: 0.6878 MB / 1.12 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.466e-05/1.026, allocations: 40.3 kB / 1.12 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/1.026, allocations: 18.84 kB / 1.12 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/1.026, allocations: 0 / 1.12 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/1.04, allocations: 1.343 MB / 1.122 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.04, allocations: 167.6 kB / 1.122 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.58, allocations: 1.062 kB / 1.122 GB, free: 38.86 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)