Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 73.61 kB / 0.6709 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 114.6 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002128/0.1567, allocations: 1.59 MB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002939/0.1571, allocations: 129.5 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.1571, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.1571, allocations: 3.938 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.1572, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.1573, allocations: 35.84 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.1574, allocations: 31.92 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.784e-05/0.1575, allocations: 19.98 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.1575, allocations: 15.92 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.276e-05/0.1575, allocations: 23.91 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1576, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.261e-05/0.1576, allocations: 15.98 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.1576, allocations: 4 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.1577, allocations: 11.94 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9e-05/0.1578, allocations: 47.8 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1578, allocations: 0 / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1578, allocations: 4 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.1578, allocations: 0 / 0.7847 GB, free: 11.99 MB / 0.6075 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.0003569/0.1581, allocations: 351.7 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1582, allocations: 8.031 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.1582, allocations: 42.73 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.1582, allocations: 4.844 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.1583, allocations: 168.3 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1583, allocations: 384 / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1584, allocations: 4.375 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1585, allocations: 74.14 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1585, allocations: 3.938 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1585, allocations: 0 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1586, allocations: 4 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1587, allocations: 47.95 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.159, allocations: 276.7 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.1593, allocations: 66.47 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.1594, allocations: 32.88 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.1596, allocations: 401.6 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.1596, allocations: 34.56 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1597, allocations: 0 / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003181/0.16, allocations: 93.62 kB / 0.7862 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.16, allocations: 55.34 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.794e-05/0.1601, allocations: 113.8 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1601, allocations: 25.7 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.1601, allocations: 84.05 kB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.1602, allocations: 11.91 kB / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1602, allocations: 17.72 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.1603, allocations: 326.7 kB / 0.7868 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.1604, allocations: 15.98 kB / 0.7868 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.1604, allocations: 19.97 kB / 0.7869 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1606, allocations: 44.83 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1606, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001878/0.1608, allocations: 85.58 kB / 0.787 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.1608, allocations: 4 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.1608, allocations: 0 / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.1608, allocations: 0 / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.1609, allocations: 11.98 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.1609, allocations: 0 / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.161, allocations: 4 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.161, allocations: 7.984 kB / 0.787 GB, free: 9.27 MB / 0.6075 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,rea2Int.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 5.685e-05/0.161, allocations: 117.8 kB / 0.7871 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1611, allocations: 7.906 kB / 0.7871 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.1613, allocations: 77.55 kB / 0.7872 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1613, allocations: 0 / 0.7872 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1613, allocations: 0 / 0.7872 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.1613, allocations: 7.938 kB / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.1614, allocations: 165.6 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1615, allocations: 8 kB / 0.7874 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.1615, allocations: 11.92 kB / 0.7874 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1615, allocations: 4 kB / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1616, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1616, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1616, allocations: 0 / 0.7874 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1618, allocations: 175.8 kB / 0.7876 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.1618, allocations: 84.95 kB / 0.7876 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1618, allocations: 4 kB / 0.7876 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.1619, allocations: 7.984 kB / 0.7877 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.162, allocations: 16.02 kB / 0.7877 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.162, allocations: 4 kB / 0.7877 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.703e-05/0.162, allocations: 83.28 kB / 0.7877 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.433e-06/0.162, allocations: 0 / 0.7877 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002016/0.1622, allocations: 11.94 kB / 0.7878 GB, free: 8.391 MB / 0.6075 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.0004444/0.1627, allocations: 0.7163 MB / 0.7885 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1629, allocations: 43.94 kB / 0.7885 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1629, allocations: 4 kB / 0.7885 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.163, allocations: 27.92 kB / 0.7885 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1632, allocations: 9.969 kB / 0.7885 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.1643, allocations: 1.286 MB / 0.7898 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.1645, allocations: 0.6809 MB / 0.7905 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.1645, allocations: 0 / 0.7905 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.1646, allocations: 15.44 kB / 0.7905 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.1646, allocations: 0 / 0.7905 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.901/2.065, allocations: 1.478 MB / 0.7919 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/2.065, allocations: 202.8 kB / 0.7921 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/4.904, allocations: 4 kB / 0.7921 GB, free: 3.832 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_8_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)