Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_dev_IDEAS_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.0008423/0.0008424, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0008436/0.0008438, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8551/0.8551, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 15.98 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001627/0.148, allocations: 1.235 MB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000297/0.1483, allocations: 124.5 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.1483, allocations: 0 / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.1483, allocations: 0 / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.923e-05/0.1484, allocations: 4 kB / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1486, allocations: 31.83 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.1487, allocations: 16 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.1488, allocations: 15.97 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.007e-05/0.1488, allocations: 19.92 kB / 0.5887 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.1489, allocations: 11.98 kB / 0.5887 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1489, allocations: 0 / 0.5887 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.755e-05/0.1489, allocations: 8 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.149, allocations: 11.92 kB / 0.5887 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.149, allocations: 29.7 kB / 0.5888 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.442e-05/0.1491, allocations: 27.94 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1491, allocations: 0 / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1491, allocations: 0 / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1491, allocations: 0 / 0.5888 GB, free: 1.492 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004486/0.1495, allocations: 359.5 kB / 0.5891 GB, free: 1.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1496, allocations: 8.031 kB / 0.5891 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.1496, allocations: 34.55 kB / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.1497, allocations: 7.906 kB / 0.5892 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1498, allocations: 171 kB / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1498, allocations: 7.984 kB / 0.5893 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.1498, allocations: 0 / 0.5893 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.15, allocations: 73.66 kB / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.15, allocations: 0 / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1501, allocations: 0 / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.1501, allocations: 0 / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.1503, allocations: 59.95 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.1507, allocations: 288.6 kB / 0.5897 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.151, allocations: 66.59 kB / 0.5898 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/0.1513, allocations: 397.6 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1513, allocations: 38.56 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1513, allocations: 0 / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004017/0.1518, allocations: 113.6 kB / 0.5903 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.1518, allocations: 55.41 kB / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.1519, allocations: 109.8 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1519, allocations: 25.7 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.1519, allocations: 88.14 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.152, allocations: 7.891 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.152, allocations: 4 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.592e-05/0.1521, allocations: 314.8 kB / 0.5909 GB, free: 15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1522, allocations: 23.98 kB / 0.5909 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.1523, allocations: 23.97 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.517e-05/0.1524, allocations: 27.98 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1524, allocations: 0 / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002234/0.1526, allocations: 89.5 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1527, allocations: 11.98 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1527, allocations: 7.938 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.1527, allocations: 0 / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/0.1528, allocations: 8 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1528, allocations: 4.297 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.1528, allocations: 11.95 kB / 0.5911 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1529, allocations: 0 / 0.5911 GB, free: 14.79 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: 2 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.393e-05/0.1529, allocations: 113.8 kB / 0.5912 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.153, allocations: 7.984 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.1533, allocations: 93.48 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1533, allocations: 384 / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1533, allocations: 4 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1533, allocations: 4 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1535, allocations: 169.6 kB / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1535, allocations: 0 / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.1535, allocations: 15.97 kB / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1536, allocations: 0 / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1536, allocations: 4 kB / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1536, allocations: 0 / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1536, allocations: 0 / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.1539, allocations: 191.4 kB / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.1539, allocations: 77.11 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.1539, allocations: 4 kB / 0.5918 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.154, allocations: 11.92 kB / 0.5918 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.1541, allocations: 11.94 kB / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.1541, allocations: 0 / 0.5918 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.1541, allocations: 95.25 kB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1542, allocations: 0 / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002341/0.1544, allocations: 8 kB / 0.5919 GB, free: 13.89 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: 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 (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.0005865/0.155, allocations: 0.7279 MB / 0.5926 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1552, allocations: 59.89 kB / 0.5927 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1552, allocations: 0 / 0.5927 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1554, allocations: 31.97 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.1555, allocations: 4 kB / 0.5927 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.1564, allocations: 458.4 kB / 0.5931 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.1566, allocations: 0.6809 MB / 0.5938 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.333e-05/0.1567, allocations: 8.109 kB / 0.5938 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.1567, allocations: 11.44 kB / 0.5938 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1567, allocations: 0 / 0.5938 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.1674, allocations: 1.369 MB / 0.5951 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.1677, allocations: 180.5 kB / 0.5953 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.415, allocations: 7.938 kB / 0.5953 GB, free: 10.33 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: