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.006358/0.006359, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.001172/0.001172, allocations: 182.7 kB / 16.67 MB, free: 5.977 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9409/0.9409, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.89 kB / 0.5852 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4888, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00155/0.4904, allocations: 0.578 MB / 0.6648 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002739/0.4907, allocations: 51.08 kB / 0.6648 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.341e-05/0.4907, allocations: 0 / 0.6648 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.4908, allocations: 3.938 kB / 0.6648 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.695e-06/0.4908, allocations: 5.281 kB / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.4911, allocations: 21.31 kB / 0.6648 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.766e-05/0.4912, allocations: 31.78 kB / 0.6649 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.4912, allocations: 1.562 kB / 0.6649 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.4913, allocations: 9.922 kB / 0.6649 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.774e-05/0.4913, allocations: 13.67 kB / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.4913, allocations: 2.469 kB / 0.6649 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-05/0.4914, allocations: 20.61 kB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.4914, allocations: 16.25 kB / 0.6649 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.4915, allocations: 12.69 kB / 0.6649 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.4916, allocations: 32.11 kB / 0.665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4916, allocations: 4 kB / 0.665 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4916, allocations: 1.125 kB / 0.665 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4916, allocations: 0 / 0.665 GB, free: 6.695 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.0002906/0.4919, allocations: 332 kB / 0.6653 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.492, allocations: 10.03 kB / 0.6653 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.492, allocations: 36.98 kB / 0.6653 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.492, allocations: 6.281 kB / 0.6653 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.966e-05/0.4921, allocations: 167.8 kB / 0.6655 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4921, allocations: 7.172 kB / 0.6655 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.4921, allocations: 6.844 kB / 0.6655 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.4923, allocations: 67.09 kB / 0.6656 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4923, allocations: 3.938 kB / 0.6656 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4923, allocations: 5.094 kB / 0.6656 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4923, allocations: 1.469 kB / 0.6656 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.4924, allocations: 98.72 kB / 0.6657 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.4925, allocations: 182.1 kB / 0.6659 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.4926, allocations: 78.8 kB / 0.6659 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/0.4927, allocations: 30.84 kB / 0.666 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.4929, allocations: 409.4 kB / 0.6664 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.4929, allocations: 31.94 kB / 0.6664 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.4929, allocations: 0 / 0.6664 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.000209/0.4932, allocations: 114.1 kB / 0.6665 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.4932, allocations: 60.5 kB / 0.6666 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.07e-05/0.4932, allocations: 98.97 kB / 0.6666 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.4932, allocations: 26.98 kB / 0.6667 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-06/0.4932, allocations: 88.14 kB / 0.6668 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.4933, allocations: 12.5 kB / 0.6668 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.4933, allocations: 32.39 kB / 0.6668 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.4934, allocations: 316.1 kB / 0.6671 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.4934, allocations: 19.33 kB / 0.6671 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.4934, allocations: 23.97 kB / 0.6671 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.4935, allocations: 56.05 kB / 0.6672 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4935, allocations: 0 / 0.6672 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001155/0.4936, allocations: 101.1 kB / 0.6673 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4937, allocations: 9.125 kB / 0.6673 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4937, allocations: 0 / 0.6673 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4937, allocations: 5.281 kB / 0.6673 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.4938, allocations: 19.3 kB / 0.6673 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.247e-06/0.4938, allocations: 0 / 0.6673 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.4938, allocations: 6.5 kB / 0.6673 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.4938, allocations: 2.594 kB / 0.6673 GB, free: 4.324 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 8.773e-05/0.4939, allocations: 128.7 kB / 0.6675 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.4939, allocations: 10.38 kB / 0.6675 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.4941, allocations: 123.3 kB / 0.6676 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4941, allocations: 1.312 kB / 0.6676 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4941, allocations: 0 / 0.6676 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.4941, allocations: 5.047 kB / 0.6676 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.852e-05/0.4942, allocations: 178.5 kB / 0.6678 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4942, allocations: 0 / 0.6678 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.4943, allocations: 23.14 kB / 0.6678 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4943, allocations: 5 kB / 0.6678 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.4943, allocations: 5.375 kB / 0.6678 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4943, allocations: 1.375 kB / 0.6678 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4943, allocations: 0 / 0.6678 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.4945, allocations: 122.9 kB / 0.6679 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.4945, allocations: 82.23 kB / 0.668 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.4945, allocations: 13.47 kB / 0.668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.4945, allocations: 1.375 kB / 0.668 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.4946, allocations: 8.016 kB / 0.668 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-06/0.4946, allocations: 11.19 kB / 0.668 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.158e-05/0.4946, allocations: 75.28 kB / 0.6681 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4946, allocations: 0 / 0.6681 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001941/0.4948, allocations: 14.94 kB / 0.6681 GB, free: 3.578 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.0003513/0.4951, allocations: 0.682 MB / 0.6688 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.4953, allocations: 62.56 kB / 0.6688 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4953, allocations: 1.219 kB / 0.6688 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.4954, allocations: 38.5 kB / 0.6689 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.4955, allocations: 5.625 kB / 0.6689 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.4958, allocations: 179.6 kB / 0.669 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.4959, allocations: 0.683 MB / 0.6697 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.785e-05/0.496, allocations: 34.66 kB / 0.6697 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.4961, allocations: 21.05 kB / 0.6698 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.4961, allocations: 0 / 0.6698 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.5119, allocations: 1.555 MB / 0.6713 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.821, allocations: 6.969 kB / 0.6713 GB, free: 1.129 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)