Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.304/1.304, allocations: 252 MB / 267.3 MB, free: 10.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 176.1 kB / 327 MB, free: 2.086 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.526/1.526, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008556/0.0008553, allocations: 90.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003395, allocations: 8.406 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2151, allocations: 106.3 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001553/0.2167, allocations: 1.263 MB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.217, allocations: 132.5 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.2171, allocations: 0 / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.2171, allocations: 3.984 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.2172, allocations: 7.922 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.2174, allocations: 23.98 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.913e-05/0.2175, allocations: 31.92 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.2176, allocations: 15.98 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.2176, allocations: 15.92 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.2177, allocations: 15.92 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.2177, allocations: 4 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.32e-05/0.2178, allocations: 11.98 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.2178, allocations: 4 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.2178, allocations: 45.56 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.928e-05/0.2179, allocations: 39.88 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2179, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2179, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.2179, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003806/0.2183, allocations: 347.8 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2184, allocations: 8.031 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.557e-05/0.2184, allocations: 34.75 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.2185, allocations: 8.844 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.2185, allocations: 168.3 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2186, allocations: 384 / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2186, allocations: 8.375 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.2188, allocations: 66.22 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.2188, allocations: 3.938 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.2188, allocations: 0 / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2188, allocations: 4 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.219, allocations: 55.95 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.2193, allocations: 288.7 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.2197, allocations: 62.55 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.2198, allocations: 32.89 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.22, allocations: 401.5 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.22, allocations: 30.56 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.22, allocations: 0 / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003701/0.2204, allocations: 121.5 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2204, allocations: 51.41 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.2205, allocations: 121.8 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.2205, allocations: 25.7 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.2205, allocations: 80.14 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.2205, allocations: 11.84 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.2206, allocations: 0 / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.2206, allocations: 322.8 kB / 0.9046 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.2207, allocations: 23.98 kB / 0.9047 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.2208, allocations: 31.97 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.2209, allocations: 52.77 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.221, allocations: 4 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001926/0.2212, allocations: 85.92 kB / 0.9048 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2212, allocations: 6.812 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2212, allocations: 0 / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2212, allocations: 48 / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.2213, allocations: 27.97 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2213, allocations: 0 / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/0.2214, allocations: 8 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2214, allocations: 4.297 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/0.2214, allocations: 117.8 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.2215, allocations: 3.906 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.2217, allocations: 105.5 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2217, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2217, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2218, allocations: 0 / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.2219, allocations: 165.6 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2219, allocations: 0 / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.222, allocations: 19.98 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.222, allocations: 0 / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.222, allocations: 0 / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.222, allocations: 3.938 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.222, allocations: 0 / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.2222, allocations: 195.4 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.2223, allocations: 81.02 kB / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.2223, allocations: 0 / 0.9055 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.2224, allocations: 11.98 kB / 0.9055 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.2224, allocations: 7.984 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2224, allocations: 4 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.2225, allocations: 87.28 kB / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2225, allocations: 0 / 0.9056 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001988/0.2227, allocations: 12 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004206/0.2231, allocations: 0.7241 MB / 0.9064 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.2233, allocations: 55.95 kB / 0.9064 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2233, allocations: 0 / 0.9064 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.407e-05/0.2234, allocations: 35.97 kB / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.2237, allocations: 3.984 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.2248, allocations: 1.329 MB / 0.9077 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.2249, allocations: 0.681 MB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.225, allocations: 11.97 kB / 0.9084 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.225, allocations: 15.44 kB / 0.9084 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.225, allocations: 0 / 0.9084 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009753/0.2348, allocations: 1.41 MB / 0.9098 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.235, allocations: 207.3 kB / 0.91 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.857, allocations: 3.938 kB / 0.91 GB, free: 53.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)