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.006348/0.006348, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001508/0.001508, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.5858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4354, allocations: 81.02 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00193/0.4374, allocations: 0.5674 MB / 0.6655 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003239/0.4377, allocations: 63.72 kB / 0.6655 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.4378, allocations: 0 / 0.6655 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.4378, allocations: 0 / 0.6655 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.043e-06/0.4379, allocations: 3.938 kB / 0.6655 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.4382, allocations: 22.92 kB / 0.6656 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.912e-05/0.4384, allocations: 27.88 kB / 0.6656 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.4384, allocations: 9.328 kB / 0.6656 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.5e-05/0.4384, allocations: 9.375 kB / 0.6656 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.4385, allocations: 18.44 kB / 0.6656 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.4385, allocations: 1.219 kB / 0.6656 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.4386, allocations: 16.89 kB / 0.6656 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.4386, allocations: 5.625 kB / 0.6656 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.4387, allocations: 19.8 kB / 0.6657 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.4388, allocations: 35.97 kB / 0.6657 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4388, allocations: 0 / 0.6657 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4388, allocations: 4 kB / 0.6657 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.4389, allocations: 0 / 0.6657 GB, free: 6.281 MB / 0.4981 GB 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.0003153/0.4392, allocations: 334.9 kB / 0.666 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4392, allocations: 8.438 kB / 0.666 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.4393, allocations: 36.91 kB / 0.6661 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.4393, allocations: 7.078 kB / 0.6661 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.4394, allocations: 173.4 kB / 0.6662 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4394, allocations: 6.906 kB / 0.6662 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.4395, allocations: 2.938 kB / 0.6662 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.4396, allocations: 63.52 kB / 0.6663 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4397, allocations: 3.938 kB / 0.6663 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.4397, allocations: 1.688 kB / 0.6663 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4397, allocations: 0 / 0.6663 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.4399, allocations: 103.6 kB / 0.6664 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.4401, allocations: 170.2 kB / 0.6666 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.4402, allocations: 78.25 kB / 0.6666 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.4403, allocations: 34.23 kB / 0.6667 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.4406, allocations: 401.9 kB / 0.6671 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.4406, allocations: 39.94 kB / 0.6671 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.4406, allocations: 0 / 0.6671 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0002895/0.4409, allocations: 121.3 kB / 0.6672 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.441, allocations: 56.56 kB / 0.6673 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.781e-05/0.441, allocations: 95.11 kB / 0.6674 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.441, allocations: 26.92 kB / 0.6674 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.366e-05/0.4411, allocations: 80.14 kB / 0.6675 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.4411, allocations: 31.88 kB / 0.6675 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.4412, allocations: 32.27 kB / 0.6675 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.4412, allocations: 316.3 kB / 0.6678 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.417e-05/0.4413, allocations: 20.8 kB / 0.6678 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.4413, allocations: 19.92 kB / 0.6679 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.4415, allocations: 61.62 kB / 0.6679 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4415, allocations: 0 / 0.6679 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001579/0.4416, allocations: 104.7 kB / 0.668 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4417, allocations: 9 kB / 0.668 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4417, allocations: 4 kB / 0.668 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4417, allocations: 1.562 kB / 0.668 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.4418, allocations: 19 kB / 0.668 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4419, allocations: 7.969 kB / 0.6681 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.4419, allocations: 2.656 kB / 0.6681 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.4419, allocations: 2.5 kB / 0.6681 GB, free: 3.898 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.000236/0.4421, allocations: 119.3 kB / 0.6682 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.4422, allocations: 18.28 kB / 0.6682 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.4424, allocations: 130.5 kB / 0.6683 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4425, allocations: 1.219 kB / 0.6683 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4425, allocations: 1.406 kB / 0.6683 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4425, allocations: 0 / 0.6683 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.4426, allocations: 166.4 kB / 0.6685 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4426, allocations: 1.25 kB / 0.6685 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.4427, allocations: 22.89 kB / 0.6685 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4427, allocations: 5.469 kB / 0.6685 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.4427, allocations: 3.984 kB / 0.6685 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4427, allocations: 5.188 kB / 0.6685 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4427, allocations: 0 / 0.6685 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.4429, allocations: 119.5 kB / 0.6686 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.443, allocations: 86.38 kB / 0.6687 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.443, allocations: 1.438 kB / 0.6687 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.443, allocations: 7.938 kB / 0.6687 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.4431, allocations: 9.328 kB / 0.6687 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.4431, allocations: 2.875 kB / 0.6687 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.4431, allocations: 79.28 kB / 0.6688 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4431, allocations: 0 / 0.6688 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002474/0.4433, allocations: 18.44 kB / 0.6688 GB, free: 3.164 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.0005797/0.4439, allocations: 0.6702 MB / 0.6695 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.4442, allocations: 67.48 kB / 0.6695 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4442, allocations: 0 / 0.6695 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.4442, allocations: 38.7 kB / 0.6696 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.4444, allocations: 2.75 kB / 0.6696 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.4449, allocations: 181 kB / 0.6698 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.4452, allocations: 0.6859 MB / 0.6704 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.473e-05/0.4453, allocations: 38.61 kB / 0.6705 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.4453, allocations: 17.31 kB / 0.6705 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4453, allocations: 0 / 0.6705 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.4687, allocations: 1.56 MB / 0.672 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.2, allocations: 6.5 kB / 0.672 GB, free: 0.7109 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)