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.611/1.611, allocations: 251.9 MB / 266.9 MB, free: 11.08 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.001057/0.001057, allocations: 176.6 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001033/0.001033, allocations: 92.48 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003722, allocations: 15.92 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2629, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.4435, allocations: 132.1 MB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4438, allocations: 71.97 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003211/0.447, allocations: 1.047 MB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/0.447, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4471, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 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.0004496/0.4475, allocations: 367.2 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4476, allocations: 8.031 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.4476, allocations: 30.56 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.4477, allocations: 7.906 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.4478, allocations: 174.9 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.4478, allocations: 8 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.4479, allocations: 0 / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.4481, allocations: 77.64 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4481, allocations: 0 / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4481, allocations: 0 / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4481, allocations: 0 / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.4483, allocations: 55.95 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.4488, allocations: 284.7 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.4491, allocations: 62.61 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.4494, allocations: 401.6 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.4494, allocations: 34.56 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.4495, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0004194/0.4499, allocations: 109.6 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.4499, allocations: 59.36 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.45, allocations: 101 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.45, allocations: 25.7 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.4501, allocations: 88.05 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.4501, allocations: 12 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.4501, allocations: 0 / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4502, allocations: 318.8 kB / 1.032 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.4503, allocations: 23.92 kB / 1.032 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.4504, allocations: 28.16 kB / 1.032 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.4506, allocations: 32.06 kB / 1.032 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4506, allocations: 0 / 1.032 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000252/0.4509, allocations: 93.48 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4509, allocations: 4 kB / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4509, allocations: 0 / 1.033 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4509, allocations: 4 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.973e-05/0.451, allocations: 15.98 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4511, allocations: 0 / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.338e-05/0.4511, allocations: 15.89 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.4512, allocations: 0 / 1.033 GB, free: 7.746 MB / 0.6823 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 (falFac.y,falFac.k) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.216e-05/0.4512, allocations: 118.5 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.4513, allocations: 0 / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.4516, allocations: 101.4 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4516, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4516, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4516, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.4518, allocations: 173.6 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4518, allocations: 4 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.4519, allocations: 15.98 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4519, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.4519, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4519, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/0.4519, allocations: 4 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.4522, allocations: 183.5 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.4523, allocations: 81.05 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.4523, allocations: 4 kB / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.4524, allocations: 11.98 kB / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.4524, allocations: 7.938 kB / 1.033 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.4525, allocations: 11.98 kB / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.4525, allocations: 87.28 kB / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4525, allocations: 0 / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002271/0.4527, allocations: 15.91 kB / 1.033 GB, free: 6.84 MB / 0.6823 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 (falFac.y,falFac.k) * 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 (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.0006051/0.4534, allocations: 0.7281 MB / 1.034 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.4536, allocations: 60.06 kB / 1.034 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4536, allocations: 4 kB / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.4537, allocations: 27.98 kB / 1.034 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4539, allocations: 7.938 kB / 1.034 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.4549, allocations: 462.4 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.4552, allocations: 0.6887 MB / 1.035 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.4552, allocations: 4 kB / 1.035 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.4553, allocations: 11.44 kB / 1.035 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.4553, allocations: 0 / 1.035 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.4676, allocations: 1.378 MB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.4679, allocations: 188.7 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.957, allocations: 4 kB / 1.037 GB, free: 3.266 MB / 0.6823 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)