Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_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.0011/0.0011, 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.001117/0.001117, allocations: 191.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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7279/0.7279, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.56 kB / 0.5014 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3327, allocations: 80.2 MB / 0.5797 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002484/0.3352, allocations: 1.596 MB / 0.5812 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002964/0.3355, allocations: 126.1 kB / 0.5813 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.3355, allocations: 0.7812 kB / 0.5813 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.3356, allocations: 0.7031 kB / 0.5813 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.3356, allocations: 8.953 kB / 0.5814 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.3359, allocations: 21.56 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.157e-05/0.3359, allocations: 43.64 kB / 0.5814 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.336, allocations: 16.45 kB / 0.5814 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.3361, allocations: 15.78 kB / 0.5815 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.719e-05/0.3361, allocations: 21.33 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3361, allocations: 3.156 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.3362, allocations: 21.28 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.3362, allocations: 4.234 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.3362, allocations: 16.2 kB / 0.5815 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.987e-05/0.3363, allocations: 41.06 kB / 0.5816 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3363, allocations: 1.375 kB / 0.5816 GB, free: 3.273 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3363, allocations: 4 kB / 0.5816 GB, free: 3.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.3364, allocations: 0 / 0.5816 GB, free: 3.27 MB / 430.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.0003668/0.3367, allocations: 358.3 kB / 0.5819 GB, free: 2.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3368, allocations: 9.453 kB / 0.5819 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.56e-05/0.3368, allocations: 36.61 kB / 0.5819 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.3368, allocations: 7.5 kB / 0.582 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.921e-05/0.3369, allocations: 168.1 kB / 0.5821 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3369, allocations: 9 kB / 0.5821 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.3369, allocations: 6.875 kB / 0.5821 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3371, allocations: 62.52 kB / 0.5822 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3371, allocations: 3.938 kB / 0.5822 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3372, allocations: 0.7188 kB / 0.5822 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3372, allocations: 1.281 kB / 0.5822 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.3374, allocations: 48.45 kB / 0.5822 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.3377, allocations: 288.9 kB / 0.5825 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.338, allocations: 57.17 kB / 0.5826 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.3381, allocations: 26.58 kB / 0.5826 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.3383, allocations: 396.4 kB / 0.583 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.146e-05/0.3383, allocations: 40.41 kB / 0.583 GB, free: 1.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3383, allocations: 0 / 0.583 GB, free: 1.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003401/0.3386, allocations: 93.97 kB / 0.5831 GB, free: 1.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.3387, allocations: 52.02 kB / 0.5831 GB, free: 1.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.3387, allocations: 111.2 kB / 0.5833 GB, free: 1.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.3387, allocations: 26.67 kB / 0.5833 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.3388, allocations: 90.53 kB / 0.5834 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.3388, allocations: 10.22 kB / 0.5834 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.3388, allocations: 19.02 kB / 0.5834 GB, free: 1.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.3388, allocations: 317.6 kB / 0.5837 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.3389, allocations: 19.56 kB / 0.5837 GB, free: 1.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.339, allocations: 21.16 kB / 0.5837 GB, free: 1.047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.3392, allocations: 58.36 kB / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3392, allocations: 0 / 0.5838 GB, free: 1.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001896/0.3394, allocations: 69.72 kB / 0.5839 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3394, allocations: 5.344 kB / 0.5839 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3394, allocations: 4.531 kB / 0.5839 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3394, allocations: 5.656 kB / 0.5839 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.3395, allocations: 10.62 kB / 0.5839 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3395, allocations: 0.7812 kB / 0.5839 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.3396, allocations: 18.89 kB / 0.5839 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3396, allocations: 0.8125 kB / 0.5839 GB, free: 0.9648 MB / 430.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: 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 4.965e-05/0.3397, allocations: 114.7 kB / 0.584 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3397, allocations: 9.812 kB / 0.584 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.3399, allocations: 84.72 kB / 0.5841 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3399, allocations: 0 / 0.5841 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3399, allocations: 5.219 kB / 0.5841 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3399, allocations: 0.7031 kB / 0.5841 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3401, allocations: 165.6 kB / 0.5843 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3401, allocations: 0 / 0.5843 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.3401, allocations: 15.36 kB / 0.5843 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3402, allocations: 4.594 kB / 0.5843 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3402, allocations: 0.7812 kB / 0.5843 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3402, allocations: 1.781 kB / 0.5843 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3402, allocations: 0 / 0.5843 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.3404, allocations: 178 kB / 0.5845 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.3404, allocations: 83.02 kB / 0.5845 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3404, allocations: 1.188 kB / 0.5845 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.3405, allocations: 6.578 kB / 0.5845 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3406, allocations: 9.281 kB / 0.5846 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.3406, allocations: 0.75 kB / 0.5846 GB, free: 336 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.619e-05/0.3406, allocations: 88.77 kB / 0.5846 GB, free: 256 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3406, allocations: 4 kB / 0.5846 GB, free: 252 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.3408, allocations: 8.875 kB / 0.5847 GB, free: 252 kB / 430.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: 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.0004972/0.3413, allocations: 0.714 MB / 0.5853 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3416, allocations: 46.23 kB / 0.5854 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3416, allocations: 0 / 0.5854 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.3417, allocations: 29.12 kB / 0.5854 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.342, allocations: 8.375 kB / 0.5854 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3433, allocations: 1.301 MB / 0.5867 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3436, allocations: 0.6797 MB / 0.5874 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.175e-05/0.3436, allocations: 3.797 kB / 0.5874 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.3437, allocations: 15.78 kB / 0.5874 GB, free: 13.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3437, allocations: 0 / 0.5874 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.4629, allocations: 1.519 MB / 0.5889 GB, free: 13.37 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002769/0.4632, allocations: 189 kB / 0.589 GB, free: 13.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.097, allocations: 3.984 kB / 0.589 GB, free: 13.11 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)