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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 114.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.617/1.617, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.938/0.938, allocations: 133.9 MB / 443.5 MB, free: 13.88 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 64.7 kB / 0.6141 GB, free: 38.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1682, allocations: 85.86 MB / 0.698 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001814/0.17, allocations: 0.5703 MB / 0.6985 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.1703, allocations: 64.5 kB / 0.6986 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.1703, allocations: 0 / 0.6986 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.1704, allocations: 1.219 kB / 0.6986 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.1704, allocations: 0 / 0.6986 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1706, allocations: 18.39 kB / 0.6986 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.284e-05/0.1707, allocations: 39.33 kB / 0.6987 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.1708, allocations: 1.219 kB / 0.6987 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.1708, allocations: 5.969 kB / 0.6987 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.322e-05/0.1708, allocations: 17.91 kB / 0.6987 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1708, allocations: 1.188 kB / 0.6987 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.921e-05/0.1709, allocations: 16.8 kB / 0.6987 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.171, allocations: 12.97 kB / 0.6987 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.171, allocations: 12.56 kB / 0.6987 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1711, allocations: 36.5 kB / 0.6988 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1711, allocations: 0 / 0.6988 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1711, allocations: 1.594 kB / 0.6988 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1711, allocations: 4 kB / 0.6988 GB, free: 13.15 MB / 0.5137 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.0004138/0.1715, allocations: 342.2 kB / 0.6991 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1716, allocations: 11.27 kB / 0.6991 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.818e-05/0.1716, allocations: 2.156 kB / 0.6991 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.1716, allocations: 44.61 kB / 0.6991 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.1717, allocations: 10.75 kB / 0.6992 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.1718, allocations: 162.3 kB / 0.6993 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.1718, allocations: 2.438 kB / 0.6993 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.1718, allocations: 6.312 kB / 0.6993 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.172, allocations: 67.77 kB / 0.6994 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.172, allocations: 0 / 0.6994 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.172, allocations: 8.953 kB / 0.6994 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.172, allocations: 1.031 kB / 0.6994 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1722, allocations: 102.3 kB / 0.6995 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.1724, allocations: 178.4 kB / 0.6997 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1725, allocations: 62.58 kB / 0.6997 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.1726, allocations: 34.41 kB / 0.6998 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.173, allocations: 401.2 kB / 0.7001 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.173, allocations: 39.88 kB / 0.7002 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.173, allocations: 0 / 0.7002 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0002955/0.1733, allocations: 113.9 kB / 0.7003 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1734, allocations: 52.78 kB / 0.7003 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.1734, allocations: 99.19 kB / 0.7004 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1734, allocations: 25.7 kB / 0.7005 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.1735, allocations: 85.52 kB / 0.7005 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.1735, allocations: 27.91 kB / 0.7006 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.1736, allocations: 27.34 kB / 0.7006 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1737, allocations: 317.6 kB / 0.7009 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.255e-05/0.1738, allocations: 18.98 kB / 0.7009 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.1738, allocations: 20.36 kB / 0.7009 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1739, allocations: 67.12 kB / 0.701 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1739, allocations: 0 / 0.701 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001539/0.1741, allocations: 93.48 kB / 0.7011 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1741, allocations: 9.438 kB / 0.7011 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1741, allocations: 0 / 0.7011 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1741, allocations: 1.375 kB / 0.7011 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1742, allocations: 23.11 kB / 0.7011 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1742, allocations: 0 / 0.7011 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.1743, allocations: 9.266 kB / 0.7011 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1743, allocations: 2.75 kB / 0.7011 GB, free: 10.77 MB / 0.5137 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.0001447/0.1744, allocations: 130.7 kB / 0.7013 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1744, allocations: 5.312 kB / 0.7013 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.1747, allocations: 126.9 kB / 0.7014 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1747, allocations: 1.375 kB / 0.7014 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1747, allocations: 5.312 kB / 0.7014 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1747, allocations: 0 / 0.7014 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.1749, allocations: 171.4 kB / 0.7015 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1749, allocations: 0 / 0.7015 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.1749, allocations: 23.05 kB / 0.7016 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.175, allocations: 3.984 kB / 0.7016 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.175, allocations: 13.31 kB / 0.7016 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.175, allocations: 1.375 kB / 0.7016 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.175, allocations: 0 / 0.7016 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1752, allocations: 124 kB / 0.7017 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.1752, allocations: 87.75 kB / 0.7018 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1752, allocations: 1.375 kB / 0.7018 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.763e-05/0.1753, allocations: 4 kB / 0.7018 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1753, allocations: 8.109 kB / 0.7018 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1753, allocations: 10.75 kB / 0.7018 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.1753, allocations: 76.75 kB / 0.7019 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1753, allocations: 0 / 0.7019 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002096/0.1756, allocations: 15 kB / 0.7019 GB, free: 10.02 MB / 0.5137 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.0006196/0.1762, allocations: 0.679 MB / 0.7026 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.1763, allocations: 59.97 kB / 0.7026 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1763, allocations: 0 / 0.7026 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.981e-05/0.1764, allocations: 29.3 kB / 0.7026 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.1765, allocations: 7 kB / 0.7027 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.1769, allocations: 172 kB / 0.7028 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1773, allocations: 0.6941 MB / 0.7035 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.2e-05/0.1774, allocations: 38.8 kB / 0.7035 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1774, allocations: 21.02 kB / 0.7036 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1774, allocations: 0.9062 kB / 0.7036 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.1957, allocations: 1.592 MB / 0.7051 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.393, allocations: 20.28 kB / 0.7051 GB, free: 7.23 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.00556 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.36355447099777] Failed to read output from testmodel.py, exit status != 0: 8.821804866020102 8.558824805 8.382936338 Calling exit ...