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.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.887 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.001044/0.001044, allocations: 180.9 kB / 316.3 MB, free: 3.25 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.658/1.658, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008778/0.0008777, allocations: 84.25 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.375e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2368, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.798/1.035, allocations: 132.3 MB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/1.035, allocations: 71.2 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003005/1.038, allocations: 1.05 MB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/1.038, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.038, allocations: 0 / 1.016 GB, free: 4.148 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.0003793/1.039, allocations: 357.6 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.039, allocations: 8.781 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/1.039, allocations: 7.891 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/1.039, allocations: 167 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/1.039, allocations: 0 / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/1.039, allocations: 4 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.811e-05/1.039, allocations: 18.75 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.411e-05/1.039, allocations: 43 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/1.039, allocations: 0 / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/1.039, allocations: 7.938 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/1.039, allocations: 4 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/1.04, allocations: 263.9 kB / 1.016 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/1.04, allocations: 40.31 kB / 1.016 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/1.04, allocations: 11.92 kB / 1.016 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/1.04, allocations: 401.6 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/1.04, allocations: 38 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.04, allocations: 0 / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000187/1.04, allocations: 48.97 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/1.04, allocations: 51.41 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/1.04, allocations: 100 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/1.04, allocations: 25.7 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/1.04, allocations: 87.39 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/1.041, allocations: 7.906 kB / 1.017 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/1.041, allocations: 0 / 1.017 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/1.041, allocations: 321.7 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/1.041, allocations: 7.5 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/1.041, allocations: 7.438 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/1.041, allocations: 8.125 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.041, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.243e-05/1.041, allocations: 59.53 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.041, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.041, allocations: 4 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/1.041, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/1.041, allocations: 19.92 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.041, allocations: 7.922 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/1.041, allocations: 7.984 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/1.041, allocations: 4 kB / 1.018 GB, free: 1.832 MB / 0.6355 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.038e-05/1.041, allocations: 109.1 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.288e-05/1.041, allocations: 54.88 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/1.041, allocations: 2.938 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/1.041, allocations: 60.05 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.041, allocations: 0 / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.041, allocations: 0 / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.041, allocations: 7.953 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/1.042, allocations: 142.1 kB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.042, allocations: 0 / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/1.042, allocations: 19.98 kB / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.042, allocations: 0 / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/1.042, allocations: 0 / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/1.042, allocations: 0 / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.042, allocations: 0 / 1.018 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/1.042, allocations: 158.1 kB / 1.018 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/1.042, allocations: 77.11 kB / 1.018 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/1.042, allocations: 3.984 kB / 1.018 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/1.042, allocations: 12 kB / 1.018 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/1.042, allocations: 7.984 kB / 1.018 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/1.042, allocations: 0 / 1.018 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.185e-05/1.042, allocations: 82.59 kB / 1.018 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/1.042, allocations: 0 / 1.018 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002259/1.042, allocations: 23.88 kB / 1.018 GB, free: 1.027 MB / 0.6355 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.0004281/1.043, allocations: 0.6878 MB / 1.019 GB, free: 324 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.339e-05/1.043, allocations: 27.72 kB / 1.019 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.043, allocations: 0 / 1.019 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/1.043, allocations: 11.44 kB / 1.019 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/1.043, allocations: 4 kB / 1.019 GB, free: 292 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/1.043, allocations: 108.7 kB / 1.019 GB, free: 152 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/1.044, allocations: 0.6846 MB / 1.02 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.28e-05/1.044, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/1.044, allocations: 14.92 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.044, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/1.061, allocations: 1.018 MB / 1.021 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.062, allocations: 148.4 kB / 1.021 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.373/2.435, allocations: 0 / 1.021 GB, free: 14.23 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)