Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_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.001015/0.001015, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001104/0.001104, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.269/1.269, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7096/0.7096, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.81 kB / 0.5014 GB, free: 9.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1273, allocations: 80.2 MB / 0.5797 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001692/0.129, allocations: 0.6543 MB / 0.5803 GB, free: 8.402 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000251/0.1293, allocations: 51.78 kB / 0.5804 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/0.1293, allocations: 0 / 0.5804 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.1294, allocations: 0 / 0.5804 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.059e-06/0.1294, allocations: 0 / 0.5804 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1297, allocations: 15.98 kB / 0.5804 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.721e-05/0.1298, allocations: 35.95 kB / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1298, allocations: 4 kB / 0.5804 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.256e-05/0.1299, allocations: 8 kB / 0.5804 GB, free: 8.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.314e-05/0.1299, allocations: 15.97 kB / 0.5804 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1299, allocations: 0 / 0.5804 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.13, allocations: 23.92 kB / 0.5805 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.13, allocations: 12 kB / 0.5805 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.1301, allocations: 7.938 kB / 0.5805 GB, free: 8.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.228e-05/0.1302, allocations: 31.89 kB / 0.5805 GB, free: 8.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1302, allocations: 0 / 0.5805 GB, free: 8.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1302, allocations: 0 / 0.5805 GB, free: 8.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1302, allocations: 4 kB / 0.5805 GB, free: 8.195 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.0003119/0.1305, allocations: 343.5 kB / 0.5809 GB, free: 7.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1306, allocations: 12.03 kB / 0.5809 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.1306, allocations: 34.75 kB / 0.5809 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.1306, allocations: 4.938 kB / 0.5809 GB, free: 7.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/0.1307, allocations: 172.5 kB / 0.5811 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.1307, allocations: 384 / 0.5811 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1308, allocations: 4.375 kB / 0.5811 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1309, allocations: 70.16 kB / 0.5811 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1309, allocations: 7.938 kB / 0.5811 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1309, allocations: 4 kB / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1309, allocations: 0 / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.1311, allocations: 103.9 kB / 0.5812 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.1313, allocations: 173.6 kB / 0.5814 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1314, allocations: 85.86 kB / 0.5815 GB, free: 7.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.1314, allocations: 28.84 kB / 0.5815 GB, free: 7.012 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/0.1318, allocations: 401.5 kB / 0.5819 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1318, allocations: 34.56 kB / 0.5819 GB, free: 6.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1318, allocations: 3.938 kB / 0.5819 GB, free: 6.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002352/0.1321, allocations: 121.8 kB / 0.5821 GB, free: 6.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.1321, allocations: 55.41 kB / 0.5821 GB, free: 6.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.84e-05/0.1322, allocations: 93.86 kB / 0.5822 GB, free: 6.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1322, allocations: 25.7 kB / 0.5822 GB, free: 6.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.1322, allocations: 84.14 kB / 0.5823 GB, free: 6.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.1323, allocations: 19.66 kB / 0.5823 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.1323, allocations: 37.7 kB / 0.5824 GB, free: 6.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1324, allocations: 318.8 kB / 0.5827 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.1325, allocations: 19.98 kB / 0.5827 GB, free: 5.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.169e-05/0.1325, allocations: 19.98 kB / 0.5827 GB, free: 5.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.1326, allocations: 56.78 kB / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1326, allocations: 0 / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001539/0.1328, allocations: 101.4 kB / 0.5829 GB, free: 5.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1328, allocations: 9.969 kB / 0.5829 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1328, allocations: 4 kB / 0.5829 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.1328, allocations: 4 kB / 0.5829 GB, free: 5.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.1329, allocations: 16 kB / 0.5829 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1329, allocations: 3.984 kB / 0.5829 GB, free: 5.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.133, allocations: 7.906 kB / 0.5829 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.133, allocations: 4 kB / 0.5829 GB, free: 5.441 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.0001159/0.1331, allocations: 124.6 kB / 0.583 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.1331, allocations: 11.88 kB / 0.583 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.1333, allocations: 125.4 kB / 0.5832 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1333, allocations: 4 kB / 0.5832 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1334, allocations: 4 kB / 0.5832 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1334, allocations: 0 / 0.5832 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.1335, allocations: 173.6 kB / 0.5833 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1335, allocations: 0 / 0.5833 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.1336, allocations: 16 kB / 0.5833 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1336, allocations: 3.938 kB / 0.5833 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1336, allocations: 7.984 kB / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1336, allocations: 4 kB / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1336, allocations: 0 / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.1337, allocations: 120.9 kB / 0.5835 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.1338, allocations: 92.97 kB / 0.5836 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1338, allocations: 4 kB / 0.5836 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.46e-05/0.1338, allocations: 0 / 0.5836 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1339, allocations: 7.984 kB / 0.5836 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1339, allocations: 8 kB / 0.5836 GB, free: 4.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.713e-05/0.1339, allocations: 79.28 kB / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1339, allocations: 0 / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.1341, allocations: 15.94 kB / 0.5837 GB, free: 4.555 MB / 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.0004459/0.1346, allocations: 0.6686 MB / 0.5843 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1347, allocations: 79.89 kB / 0.5844 GB, free: 3.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1347, allocations: 0 / 0.5844 GB, free: 3.777 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.1348, allocations: 31.98 kB / 0.5844 GB, free: 3.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1349, allocations: 6.531 kB / 0.5844 GB, free: 3.742 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.1352, allocations: 202.2 kB / 0.5846 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1355, allocations: 0.6838 MB / 0.5853 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.783e-05/0.1356, allocations: 39.95 kB / 0.5853 GB, free: 2.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.1356, allocations: 23.42 kB / 0.5854 GB, free: 2.738 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1357, allocations: 0 / 0.5854 GB, free: 2.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04435/0.18, allocations: 1.433 MB / 0.5868 GB, free: 1.438 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.1802, allocations: 202.3 kB / 0.5869 GB, free: 1.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.009, allocations: 0 / 0.5869 GB, free: 1.184 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)