Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.65/1.65, allocations: 287.4 MB / 302.6 MB, free: 8.309 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.0009675/0.0009675, allocations: 177.4 kB / 371.1 MB, free: 10.84 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.885/1.885, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009683/0.0009683, allocations: 100.7 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004636, allocations: 13.48 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2461, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007733/0.247, allocations: 319.5 kB / 0.979 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002784/0.2473, allocations: 55.83 kB / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.2473, allocations: 0 / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.2474, allocations: 0 / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.136e-06/0.2474, allocations: 0 / 0.9791 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.2477, allocations: 11.98 kB / 0.9791 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.305e-05/0.2478, allocations: 27.97 kB / 0.9791 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.2478, allocations: 7.938 kB / 0.9791 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.2479, allocations: 4 kB / 0.9792 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.547e-05/0.2479, allocations: 23.97 kB / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2479, allocations: 0 / 0.9792 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.766e-05/0.248, allocations: 15.98 kB / 0.9792 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.248, allocations: 4 kB / 0.9792 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.2481, allocations: 33.7 kB / 0.9792 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.712e-05/0.2482, allocations: 19.95 kB / 0.9792 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2482, allocations: 0 / 0.9792 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.326e-06/0.2482, allocations: 0 / 0.9792 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2482, allocations: 3.938 kB / 0.9792 GB, free: 27.55 MB / 0.6198 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.0003028/0.2485, allocations: 335.7 kB / 0.9796 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.2486, allocations: 16.03 kB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.2486, allocations: 30.75 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.2486, allocations: 12.94 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.248e-05/0.2487, allocations: 164.4 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2487, allocations: 384 / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2488, allocations: 4.375 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.2489, allocations: 66.17 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.249, allocations: 3.938 kB / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.249, allocations: 8 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.249, allocations: 0 / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.2491, allocations: 111.8 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.2493, allocations: 169.7 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.2494, allocations: 66.55 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.2495, allocations: 28.84 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002985/0.2498, allocations: 405.5 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2498, allocations: 34.55 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.2498, allocations: 0 / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002465/0.2501, allocations: 129.6 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.2501, allocations: 59.34 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.915e-05/0.2501, allocations: 93.86 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.2501, allocations: 25.7 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.689e-05/0.2502, allocations: 84.14 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.2502, allocations: 19.66 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.2502, allocations: 4 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.401e-05/0.2503, allocations: 318.8 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.2503, allocations: 23.98 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.052e-05/0.2504, allocations: 19.98 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.613e-05/0.2505, allocations: 64.7 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2505, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000119/0.2506, allocations: 85.67 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2506, allocations: 7.938 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2506, allocations: 0 / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2507, allocations: 4 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2508, allocations: 15.98 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2508, allocations: 7.984 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.2508, allocations: 11.91 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2508, allocations: 4 kB / 0.9816 GB, free: 24.85 MB / 0.6198 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 0.0001438/0.251, allocations: 133.7 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.251, allocations: 3.938 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.2512, allocations: 125.4 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2512, allocations: 8 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2512, allocations: 0 / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2512, allocations: 0 / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.2514, allocations: 169.6 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2514, allocations: 0 / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.2514, allocations: 23.92 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2515, allocations: 3.938 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2515, allocations: 8 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2515, allocations: 0 / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2515, allocations: 3.984 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.2516, allocations: 125.8 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.2517, allocations: 84.98 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2517, allocations: 4 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.767e-05/0.2517, allocations: 4 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.2517, allocations: 11.98 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2518, allocations: 4 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.596e-05/0.2518, allocations: 75.28 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2518, allocations: 0 / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001868/0.252, allocations: 16 kB / 0.9823 GB, free: 23.96 MB / 0.6198 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.0003775/0.2524, allocations: 0.6787 MB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.2525, allocations: 59.91 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2525, allocations: 0 / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.2526, allocations: 35.98 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.2527, allocations: 6.234 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.2531, allocations: 192.2 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.2532, allocations: 0.6809 MB / 0.984 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.816e-05/0.2533, allocations: 35.94 kB / 0.984 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.2533, allocations: 27.42 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2533, allocations: 0 / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.2658, allocations: 1.328 MB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.2661, allocations: 191.8 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.861, allocations: 2.625 kB / 0.9855 GB, free: 20.74 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)