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.0008279/0.000828, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004904/0.004904, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8627/0.8627, allocations: 135.3 MB / 426.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 8 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000594/0.1375, allocations: 303.1 kB / 0.5884 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.1377, allocations: 55.83 kB / 0.5884 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.1377, allocations: 4 kB / 0.5884 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.1378, allocations: 3.938 kB / 0.5884 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.1378, allocations: 0 / 0.5884 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.138, allocations: 12 kB / 0.5884 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.1381, allocations: 31.97 kB / 0.5885 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.1381, allocations: 4 kB / 0.5885 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.813e-05/0.1381, allocations: 7.984 kB / 0.5885 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.797e-05/0.1382, allocations: 15.98 kB / 0.5885 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1382, allocations: 0 / 0.5885 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.1383, allocations: 15.98 kB / 0.5885 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.1383, allocations: 11.92 kB / 0.5885 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.1383, allocations: 41.64 kB / 0.5886 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.941e-05/0.1384, allocations: 35.88 kB / 0.5886 GB, free: 1.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1384, allocations: 0 / 0.5886 GB, free: 1.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1384, allocations: 0 / 0.5886 GB, free: 1.984 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.085e-06/0.1385, allocations: 4 kB / 0.5886 GB, free: 1.98 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.000257/0.1387, allocations: 331.5 kB / 0.5889 GB, free: 1.605 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1388, allocations: 8.031 kB / 0.5889 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.1388, allocations: 30.75 kB / 0.589 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.1388, allocations: 4.938 kB / 0.589 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.535e-05/0.1389, allocations: 172.5 kB / 0.5891 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1389, allocations: 8.375 kB / 0.5891 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.1389, allocations: 384 / 0.5891 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1391, allocations: 70.16 kB / 0.5892 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1391, allocations: 3.938 kB / 0.5892 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1391, allocations: 4 kB / 0.5892 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1391, allocations: 0 / 0.5892 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1392, allocations: 103.9 kB / 0.5893 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.1394, allocations: 165.7 kB / 0.5895 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1395, allocations: 84.48 kB / 0.5896 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.1396, allocations: 36.84 kB / 0.5896 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.1399, allocations: 405.5 kB / 0.59 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1399, allocations: 30.56 kB / 0.59 GB, free: 296 kB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1399, allocations: 0 / 0.59 GB, free: 296 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002195/0.1401, allocations: 121.7 kB / 0.5901 GB, free: 168 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.1402, allocations: 59.39 kB / 0.5902 GB, free: 96 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.1402, allocations: 93.86 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1402, allocations: 29.7 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.1403, allocations: 80.14 kB / 0.5904 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1403, allocations: 23.66 kB / 0.5904 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1403, allocations: 21.7 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.1404, allocations: 318.8 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.1405, allocations: 19.98 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/0.1405, allocations: 19.98 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.132e-05/0.1406, allocations: 67.72 kB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1406, allocations: 4 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001175/0.1407, allocations: 89.61 kB / 0.5909 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1407, allocations: 7.938 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1408, allocations: 0 / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1408, allocations: 0 / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.1409, allocations: 19.98 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1409, allocations: 0 / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.183e-05/0.1409, allocations: 7.906 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1409, allocations: 4 kB / 0.5909 GB, free: 15.26 MB / 0.4981 GB 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.0001127/0.141, allocations: 125.8 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.1411, allocations: 7.938 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.1413, allocations: 129.3 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1413, allocations: 0 / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1413, allocations: 0 / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1413, allocations: 7.984 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1414, allocations: 169.7 kB / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1414, allocations: 0 / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.1415, allocations: 23.98 kB / 0.5914 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1415, allocations: 7.938 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1415, allocations: 0 / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1415, allocations: 4 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1415, allocations: 3.984 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.1417, allocations: 128.9 kB / 0.5915 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.368e-05/0.1417, allocations: 84.98 kB / 0.5916 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.1417, allocations: 4 kB / 0.5916 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.1417, allocations: 7.938 kB / 0.5916 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1418, allocations: 11.98 kB / 0.5916 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1418, allocations: 4 kB / 0.5916 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.032e-05/0.1418, allocations: 75.28 kB / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1418, allocations: 0 / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001855/0.142, allocations: 12 kB / 0.5917 GB, free: 14.36 MB / 0.4981 GB 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.0004147/0.1424, allocations: 0.6745 MB / 0.5924 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.1425, allocations: 59.97 kB / 0.5924 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1425, allocations: 0 / 0.5924 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.158e-05/0.1426, allocations: 35.92 kB / 0.5925 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1427, allocations: 11.5 kB / 0.5925 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.1431, allocations: 196.2 kB / 0.5927 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.1433, allocations: 0.6809 MB / 0.5933 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.283e-05/0.1434, allocations: 31.97 kB / 0.5934 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.1434, allocations: 19.42 kB / 0.5934 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1434, allocations: 0 / 0.5934 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3153/0.4587, allocations: 1.355 MB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/0.459, allocations: 205.7 kB / 0.5949 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.025, allocations: 0 / 0.5949 GB, free: 11.11 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)