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 2.595/2.595, allocations: 287.5 MB / 302.4 MB, free: 8.199 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.00139/0.00139, allocations: 190.5 kB / 371 MB, free: 10.91 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.319/2.319, allocations: 205.4 MB / 0.6297 GB, free: 10.68 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.0009068/0.0009066, allocations: 88.88 kB / 0.743 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004799, allocations: 12.94 kB / 0.8659 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2293, allocations: 115.3 MB / 0.9785 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007531/0.2301, allocations: 319.6 kB / 0.9788 GB, free: 27.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002503/0.2303, allocations: 55.88 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.2304, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.2304, allocations: 0 / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.992e-06/0.2304, allocations: 3.938 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.2307, allocations: 16 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.2308, allocations: 23.97 kB / 0.9789 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.2308, allocations: 0 / 0.9789 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.2309, allocations: 15.98 kB / 0.9789 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.337e-05/0.2309, allocations: 11.98 kB / 0.9789 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2309, allocations: 0 / 0.9789 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.231, allocations: 11.98 kB / 0.9789 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.231, allocations: 19.98 kB / 0.9789 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.2311, allocations: 29.64 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.385e-05/0.2312, allocations: 15.97 kB / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2312, allocations: 0 / 0.979 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2312, allocations: 4 kB / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2312, allocations: 0 / 0.979 GB, free: 27.78 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.0002903/0.2315, allocations: 335.5 kB / 0.9793 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2315, allocations: 12.02 kB / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.2316, allocations: 34.56 kB / 0.9793 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.2316, allocations: 8 kB / 0.9793 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.344e-05/0.2317, allocations: 171 kB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2317, allocations: 4 kB / 0.9795 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.2318, allocations: 11.94 kB / 0.9795 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.2319, allocations: 61.61 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.232, allocations: 0 / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.232, allocations: 0 / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.232, allocations: 0 / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.2322, allocations: 103.9 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.2324, allocations: 177.6 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.2325, allocations: 82.42 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.701e-05/0.2326, allocations: 40.78 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/0.2329, allocations: 397.5 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.233, allocations: 38.55 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.233, allocations: 0 / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003021/0.2333, allocations: 113.8 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.2333, allocations: 51.41 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.383e-05/0.2334, allocations: 97.86 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2334, allocations: 25.7 kB / 0.9807 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.2334, allocations: 84.33 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.2335, allocations: 23.66 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.2335, allocations: 0 / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.2336, allocations: 322.8 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.2336, allocations: 19.98 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.2337, allocations: 19.98 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.2338, allocations: 31.88 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2338, allocations: 4 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001818/0.234, allocations: 89.67 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.234, allocations: 4 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.234, allocations: 0 / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.234, allocations: 0 / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.2342, allocations: 23.92 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2342, allocations: 0 / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.2343, allocations: 3.906 kB / 0.9813 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2343, allocations: 4 kB / 0.9813 GB, free: 25.11 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.0001372/0.2345, allocations: 133.7 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.2345, allocations: 8 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.2348, allocations: 121.6 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2348, allocations: 0 / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2348, allocations: 0 / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2348, allocations: 7.969 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.235, allocations: 177.6 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.235, allocations: 7.953 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.2351, allocations: 15.98 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.2351, allocations: 4 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2351, allocations: 0 / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2352, allocations: 0 / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2352, allocations: 0 / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.2354, allocations: 122.2 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.2354, allocations: 89 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2354, allocations: 8 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.557e-05/0.2355, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.2355, allocations: 11.92 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2355, allocations: 15.94 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.707e-05/0.2356, allocations: 75.28 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2356, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002711/0.2359, allocations: 12 kB / 0.982 GB, free: 24.22 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.0005076/0.2364, allocations: 0.6798 MB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.2366, allocations: 59.91 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2366, allocations: 0 / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.2367, allocations: 35.92 kB / 0.9828 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.2369, allocations: 10.22 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.2374, allocations: 184.3 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.2376, allocations: 0.6848 MB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.2377, allocations: 35.94 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.2378, allocations: 15.44 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.2378, allocations: 0 / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.2625, allocations: 1.346 MB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.2628, allocations: 203.5 kB / 0.9852 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/2.741, allocations: 0 / 0.9852 GB, free: 20.99 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)