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.00123/0.001231, allocations: 99.86 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.001423/0.001423, 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 2.076/2.076, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.207/1.207, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004231, allocations: 16 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7401/0.7405, allocations: 81.56 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0009247/0.7415, allocations: 319.2 kB / 0.5833 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002988/0.7418, allocations: 50.73 kB / 0.5833 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.7419, allocations: 0 / 0.5833 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.7419, allocations: 0 / 0.5833 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.895e-06/0.7419, allocations: 0 / 0.5833 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.7423, allocations: 12.38 kB / 0.5833 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.7424, allocations: 26.39 kB / 0.5834 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.989e-05/0.7424, allocations: 1.5 kB / 0.5834 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.7425, allocations: 10.7 kB / 0.5834 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.7426, allocations: 16.03 kB / 0.5834 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.7426, allocations: 1.375 kB / 0.5834 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.7427, allocations: 14.77 kB / 0.5834 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.7427, allocations: 15 kB / 0.5834 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.7428, allocations: 28.48 kB / 0.5835 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.7429, allocations: 23.5 kB / 0.5835 GB, free: 3.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.7429, allocations: 3.938 kB / 0.5835 GB, free: 3.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.7429, allocations: 0 / 0.5835 GB, free: 3.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.7429, allocations: 0 / 0.5835 GB, free: 3.688 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003554/0.7433, allocations: 330.5 kB / 0.5838 GB, free: 3.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.7434, allocations: 8.438 kB / 0.5838 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.02e-05/0.7434, allocations: 42.7 kB / 0.5838 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.7435, allocations: 2.672 kB / 0.5838 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.7436, allocations: 169.9 kB / 0.584 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.7436, allocations: 6.516 kB / 0.584 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.7436, allocations: 3.219 kB / 0.584 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.7439, allocations: 61.45 kB / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.7439, allocations: 0 / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.7439, allocations: 7.938 kB / 0.5841 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.7439, allocations: 1.312 kB / 0.5841 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.7442, allocations: 105 kB / 0.5842 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002289/0.7445, allocations: 180.5 kB / 0.5844 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.7447, allocations: 75 kB / 0.5844 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/0.7451, allocations: 403 kB / 0.5848 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.7451, allocations: 32.66 kB / 0.5848 GB, free: 2.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.502e-06/0.7451, allocations: 0 / 0.5848 GB, free: 2.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004264/0.7455, allocations: 117.9 kB / 0.585 GB, free: 2.199 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.7456, allocations: 53.2 kB / 0.585 GB, free: 2.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.379e-05/0.7456, allocations: 92.62 kB / 0.5851 GB, free: 2.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.7457, allocations: 33.7 kB / 0.5851 GB, free: 2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.7457, allocations: 81.27 kB / 0.5852 GB, free: 1.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.7458, allocations: 20.59 kB / 0.5852 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.7458, allocations: 1 kB / 0.5852 GB, free: 1.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.7459, allocations: 317.6 kB / 0.5855 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.746, allocations: 19.78 kB / 0.5855 GB, free: 1.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.746, allocations: 19.44 kB / 0.5856 GB, free: 1.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.7462, allocations: 30.75 kB / 0.5856 GB, free: 1.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7462, allocations: 0 / 0.5856 GB, free: 1.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000245/0.7464, allocations: 101.1 kB / 0.5857 GB, free: 1.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.7465, allocations: 5.5 kB / 0.5857 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7465, allocations: 0.7031 kB / 0.5857 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.7465, allocations: 0.875 kB / 0.5857 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.7467, allocations: 18.81 kB / 0.5857 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.7467, allocations: 0.5625 kB / 0.5857 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.7467, allocations: 9.375 kB / 0.5857 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.7468, allocations: 3.578 kB / 0.5857 GB, free: 1.5 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: 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 initialization (11): * Single equations (assignments): 11 * 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 0.0001945/0.747, allocations: 132 kB / 0.5859 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.747, allocations: 2.594 kB / 0.5859 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.7474, allocations: 122.5 kB / 0.586 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7474, allocations: 5.219 kB / 0.586 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.7474, allocations: 5.969 kB / 0.586 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7474, allocations: 0.75 kB / 0.586 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.7476, allocations: 180.7 kB / 0.5862 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.7477, allocations: 3.953 kB / 0.5862 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.7478, allocations: 23.22 kB / 0.5862 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7478, allocations: 0.9375 kB / 0.5862 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.7478, allocations: 6.016 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.7478, allocations: 1.219 kB / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7478, allocations: 0 / 0.5862 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.7481, allocations: 113.1 kB / 0.5863 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.7481, allocations: 83.78 kB / 0.5864 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.7482, allocations: 9.766 kB / 0.5864 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.7482, allocations: 4 kB / 0.5864 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.7483, allocations: 8.422 kB / 0.5864 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.7483, allocations: 7.781 kB / 0.5864 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.287e-05/0.7483, allocations: 75.28 kB / 0.5865 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7484, allocations: 0 / 0.5865 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004112/0.7488, allocations: 14.73 kB / 0.5865 GB, free: 0.8086 MB / 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: 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 (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.0006371/0.7494, allocations: 0.6748 MB / 0.5872 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.7497, allocations: 70.53 kB / 0.5872 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7497, allocations: 0 / 0.5872 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.7498, allocations: 31.62 kB / 0.5872 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.75, allocations: 2.125 kB / 0.5872 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.7506, allocations: 180.5 kB / 0.5874 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.7511, allocations: 0.6898 MB / 0.5881 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.7513, allocations: 34.3 kB / 0.5881 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.7514, allocations: 19.72 kB / 0.5881 GB, free: 15.28 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.7514, allocations: 0 / 0.5881 GB, free: 15.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.7708, allocations: 1.316 MB / 0.5894 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/0.7712, allocations: 181 kB / 0.5896 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/3.6, allocations: 0 / 0.5896 GB, free: 14.88 MB / 446.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/linux/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) Environment - environmentSimulation: