Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001389/0.001389, 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.001721/0.001721, allocations: 197.9 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9371/0.9371, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 64.22 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1452, allocations: 80.92 MB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001717/0.147, allocations: 0.6322 MB / 0.5844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002561/0.1472, allocations: 59.73 kB / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.168e-05/0.1473, allocations: 0 / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.1473, allocations: 0 / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.258e-06/0.1473, allocations: 0 / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.1475, allocations: 15.98 kB / 0.5845 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.894e-05/0.1476, allocations: 27.97 kB / 0.5845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.1476, allocations: 3.984 kB / 0.5845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.1477, allocations: 15.94 kB / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.528e-05/0.1477, allocations: 11.98 kB / 0.5846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1477, allocations: 8 kB / 0.5846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.1478, allocations: 15.98 kB / 0.5846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.1478, allocations: 7.984 kB / 0.5846 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.1478, allocations: 15.92 kB / 0.5846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.172e-05/0.1479, allocations: 31.89 kB / 0.5846 GB, free: 4.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1479, allocations: 0 / 0.5846 GB, free: 4.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.148, allocations: 0 / 0.5846 GB, free: 4.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.148, allocations: 3.938 kB / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003042/0.1483, allocations: 347.4 kB / 0.585 GB, free: 3.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1483, allocations: 8.031 kB / 0.585 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.287e-05/0.1484, allocations: 38.75 kB / 0.585 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.1484, allocations: 4.938 kB / 0.585 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.1485, allocations: 164.6 kB / 0.5852 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1485, allocations: 4.375 kB / 0.5852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.1485, allocations: 4.375 kB / 0.5852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1487, allocations: 69.72 kB / 0.5853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1487, allocations: 3.938 kB / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.1487, allocations: 0 / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1487, allocations: 0 / 0.5853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1488, allocations: 107.8 kB / 0.5854 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.149, allocations: 169.7 kB / 0.5855 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.1491, allocations: 78.59 kB / 0.5856 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.1492, allocations: 32.84 kB / 0.5856 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.1495, allocations: 401.5 kB / 0.586 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1495, allocations: 34.56 kB / 0.5861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1495, allocations: 0 / 0.5861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002313/0.1497, allocations: 121.4 kB / 0.5862 GB, free: 2.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1498, allocations: 55.41 kB / 0.5862 GB, free: 2.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.616e-05/0.1498, allocations: 97.84 kB / 0.5863 GB, free: 2.055 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1498, allocations: 25.7 kB / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.1499, allocations: 84.3 kB / 0.5864 GB, free: 1.938 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1499, allocations: 23.66 kB / 0.5864 GB, free: 1.914 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.1499, allocations: 37.64 kB / 0.5865 GB, free: 1.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.15, allocations: 310.8 kB / 0.5868 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.1501, allocations: 23.98 kB / 0.5868 GB, free: 1.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.1501, allocations: 19.98 kB / 0.5868 GB, free: 1.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.584e-05/0.1502, allocations: 64.77 kB / 0.5869 GB, free: 1.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1502, allocations: 0 / 0.5869 GB, free: 1.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001339/0.1504, allocations: 93.11 kB / 0.587 GB, free: 1.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1504, allocations: 9.812 kB / 0.587 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1504, allocations: 0 / 0.587 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1504, allocations: 7.984 kB / 0.587 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.1505, allocations: 12 kB / 0.587 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1505, allocations: 7.984 kB / 0.587 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.1506, allocations: 11.91 kB / 0.587 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1506, allocations: 7.984 kB / 0.587 GB, free: 1.301 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001206/0.1507, allocations: 121.8 kB / 0.5871 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1507, allocations: 3.938 kB / 0.5871 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.1509, allocations: 125.5 kB / 0.5873 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.151, allocations: 7.984 kB / 0.5873 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.151, allocations: 4 kB / 0.5873 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.151, allocations: 3.984 kB / 0.5873 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1511, allocations: 169.6 kB / 0.5874 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1511, allocations: 0 / 0.5874 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.1512, allocations: 23.92 kB / 0.5875 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.1512, allocations: 3.938 kB / 0.5875 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1512, allocations: 8 kB / 0.5875 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1512, allocations: 0 / 0.5875 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1512, allocations: 3.984 kB / 0.5875 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.1514, allocations: 117 kB / 0.5876 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.1514, allocations: 88.98 kB / 0.5877 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1514, allocations: 3.984 kB / 0.5877 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.1515, allocations: 8 kB / 0.5877 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.1515, allocations: 4 kB / 0.5877 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1515, allocations: 7.984 kB / 0.5877 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.268e-05/0.1515, allocations: 75.28 kB / 0.5878 GB, free: 440 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.1515, allocations: 0 / 0.5878 GB, free: 440 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.1517, allocations: 19.94 kB / 0.5878 GB, free: 420 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004815/0.1522, allocations: 0.667 MB / 0.5884 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1524, allocations: 62.14 kB / 0.5885 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1524, allocations: 3.938 kB / 0.5885 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/0.1524, allocations: 43.97 kB / 0.5885 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.1526, allocations: 4 kB / 0.5885 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.1529, allocations: 193.9 kB / 0.5887 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1532, allocations: 0.6848 MB / 0.5894 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.518e-05/0.1533, allocations: 31.95 kB / 0.5894 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.1533, allocations: 23.44 kB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.523e-06/0.1533, allocations: 0 / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.1642, allocations: 1.407 MB / 0.5908 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000341/0.1646, allocations: 205.1 kB / 0.591 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.825, allocations: 0 / 0.591 GB, free: 13.07 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)