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.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001022/0.001022, allocations: 86.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.679e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7215/0.9232, allocations: 132 MB / 1.021 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.9235, allocations: 66.97 kB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003167/0.9267, allocations: 1.049 MB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9267, allocations: 0 / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.9267, allocations: 4 kB / 1.022 GB, free: 1.758 MB / 0.6355 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.0004155/0.9271, allocations: 355.5 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.9272, allocations: 8.031 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.9272, allocations: 34.56 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.9273, allocations: 10.03 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.9274, allocations: 167 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.9274, allocations: 0 / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.9274, allocations: 2.312 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.9276, allocations: 57.98 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.9276, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.9276, allocations: 4 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9276, allocations: 3.938 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.177e-05/0.9277, allocations: 22.55 kB / 1.023 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.9281, allocations: 285.1 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.9283, allocations: 51.83 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.9284, allocations: 16.23 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.9287, allocations: 393.6 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.9287, allocations: 42.25 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.9287, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001735/0.9289, allocations: 49.19 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.9289, allocations: 55.36 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.929, allocations: 107.7 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.9291, allocations: 29.7 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.9291, allocations: 87.39 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.9292, allocations: 3.906 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.9292, allocations: 4 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.9293, allocations: 318.1 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.9293, allocations: 11.8 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.9293, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.9294, allocations: 7.312 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9294, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.08e-05/0.9295, allocations: 56.47 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9295, allocations: 5.719 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.9295, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.9295, allocations: 8 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.9296, allocations: 15.92 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.9297, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.9297, allocations: 19.88 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.9297, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 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 () * 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 7.234e-05/0.9298, allocations: 101 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.9298, allocations: 4 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.93, allocations: 64.39 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.93, allocations: 4 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.93, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.93, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.9302, allocations: 168.9 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9302, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.9303, allocations: 16.8 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.9303, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.9303, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9303, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9303, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.9305, allocations: 154.8 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.9305, allocations: 85.03 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.9306, allocations: 0.625 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.9307, allocations: 8 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.9307, allocations: 15.42 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.9307, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.9308, allocations: 90.95 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9308, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002217/0.931, allocations: 19.88 kB / 1.025 GB, free: 14.55 MB / 0.6511 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 () * 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.0004994/0.9315, allocations: 0.6944 MB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.9316, allocations: 30.86 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9317, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.9317, allocations: 15.25 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.9319, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.9322, allocations: 113.8 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.9325, allocations: 0.6848 MB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.9326, allocations: 8 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.9326, allocations: 11.12 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/0.9326, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.9442, allocations: 1.387 MB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.9444, allocations: 161.9 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/2.373, allocations: 0 / 1.028 GB, free: 11.44 MB / 0.6511 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)