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.000666/0.000666, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004552/0.004552, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7182/0.7182, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 13.88 kB / 0.5041 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4008, allocations: 81.57 MB / 0.5838 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.000634/0.4015, allocations: 320.5 kB / 0.5841 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.4018, allocations: 55.28 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.281e-05/0.4018, allocations: 0.6562 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.4018, allocations: 0.6875 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.4018, allocations: 1.094 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.4021, allocations: 11.19 kB / 0.5841 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.4022, allocations: 30.23 kB / 0.5842 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.4022, allocations: 6.344 kB / 0.5842 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.334e-05/0.4022, allocations: 11.84 kB / 0.5842 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.366e-05/0.4023, allocations: 12.38 kB / 0.5842 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.4023, allocations: 2.125 kB / 0.5842 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.535e-05/0.4024, allocations: 19.08 kB / 0.5842 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.4024, allocations: 15.95 kB / 0.5842 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.4025, allocations: 39.92 kB / 0.5843 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.375e-05/0.4026, allocations: 35.72 kB / 0.5843 GB, free: 3.688 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4026, allocations: 1.906 kB / 0.5843 GB, free: 3.688 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4026, allocations: 1.562 kB / 0.5843 GB, free: 3.688 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.4026, allocations: 0 / 0.5843 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.0002262/0.4028, allocations: 326.3 kB / 0.5846 GB, free: 3.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4029, allocations: 12.02 kB / 0.5846 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.4029, allocations: 34.17 kB / 0.5847 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.245e-05/0.4029, allocations: 2.094 kB / 0.5847 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.82e-05/0.403, allocations: 173.1 kB / 0.5848 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.403, allocations: 2.469 kB / 0.5848 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.403, allocations: 4 kB / 0.5848 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.4032, allocations: 68.88 kB / 0.5849 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4032, allocations: 3.938 kB / 0.5849 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4032, allocations: 5.547 kB / 0.5849 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4032, allocations: 1.188 kB / 0.5849 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.4034, allocations: 105.9 kB / 0.585 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.4035, allocations: 175 kB / 0.5852 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.4036, allocations: 71.31 kB / 0.5852 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.4037, allocations: 32.34 kB / 0.5853 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.4039, allocations: 411.7 kB / 0.5857 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.4039, allocations: 31.53 kB / 0.5857 GB, free: 2.246 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.4039, allocations: 1.25 kB / 0.5857 GB, free: 2.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002372/0.4042, allocations: 114.4 kB / 0.5858 GB, free: 2.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.4042, allocations: 53.7 kB / 0.5859 GB, free: 2.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.116e-05/0.4042, allocations: 100.2 kB / 0.586 GB, free: 2.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.4042, allocations: 27.27 kB / 0.586 GB, free: 1.992 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-06/0.4043, allocations: 80.14 kB / 0.5861 GB, free: 1.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.4043, allocations: 19.75 kB / 0.5861 GB, free: 1.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.4043, allocations: 21.42 kB / 0.5861 GB, free: 1.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.4044, allocations: 317.8 kB / 0.5864 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/0.4044, allocations: 20.06 kB / 0.5864 GB, free: 1.555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.4044, allocations: 24.5 kB / 0.5864 GB, free: 1.547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.87e-05/0.4046, allocations: 67.41 kB / 0.5865 GB, free: 1.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4046, allocations: 0 / 0.5865 GB, free: 1.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001315/0.4047, allocations: 86.25 kB / 0.5866 GB, free: 1.473 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4047, allocations: 9.594 kB / 0.5866 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4047, allocations: 0 / 0.5866 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4048, allocations: 1.609 kB / 0.5866 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.4049, allocations: 21.3 kB / 0.5866 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4049, allocations: 5.578 kB / 0.5866 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.4049, allocations: 12.75 kB / 0.5866 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4049, allocations: 4.266 kB / 0.5866 GB, free: 1.449 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 (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 9.484e-05/0.405, allocations: 123.9 kB / 0.5868 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.405, allocations: 5.969 kB / 0.5868 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.4052, allocations: 125.9 kB / 0.5869 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4053, allocations: 1.594 kB / 0.5869 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4053, allocations: 4.938 kB / 0.5869 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4053, allocations: 0.7031 kB / 0.5869 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.832e-05/0.4054, allocations: 182.1 kB / 0.5871 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4054, allocations: 0 / 0.5871 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-05/0.4055, allocations: 22.31 kB / 0.5871 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4055, allocations: 4.594 kB / 0.5871 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4055, allocations: 2.25 kB / 0.5871 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4055, allocations: 0.6875 kB / 0.5871 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4055, allocations: 1.719 kB / 0.5871 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.4056, allocations: 124.4 kB / 0.5872 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.4057, allocations: 87.31 kB / 0.5873 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4057, allocations: 5.938 kB / 0.5873 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/0.4057, allocations: 1.594 kB / 0.5873 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.4057, allocations: 10.83 kB / 0.5873 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.4058, allocations: 3.375 kB / 0.5873 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.032e-05/0.4058, allocations: 75.28 kB / 0.5874 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4058, allocations: 1.469 kB / 0.5874 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.406, allocations: 18.69 kB / 0.5874 GB, free: 0.7578 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 (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.0003926/0.4064, allocations: 0.6699 MB / 0.5881 GB, free: 140 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.4065, allocations: 63.66 kB / 0.5881 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4065, allocations: 0 / 0.5881 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.354e-05/0.4066, allocations: 36.94 kB / 0.5882 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.4067, allocations: 14.3 kB / 0.5882 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.4071, allocations: 192.2 kB / 0.5884 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.4074, allocations: 0.6826 MB / 0.589 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.615e-05/0.4074, allocations: 34 kB / 0.5891 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.4075, allocations: 18.45 kB / 0.5891 GB, free: 15.22 MB / 446.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4075, allocations: 1.094 kB / 0.5891 GB, free: 15.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1522/0.5597, allocations: 1.345 MB / 0.5904 GB, free: 15.06 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.56, allocations: 192.2 kB / 0.5906 GB, free: 14.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.267, allocations: 0 / 0.5906 GB, free: 14.81 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/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)