Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001312/0.001312, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001505/0.001505, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.9275/0.9275, allocations: 134 MB / 447.2 MB, free: 10.27 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.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.001947/0.001947, allocations: 66.8 kB / 0.6193 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1703, allocations: 85.91 MB / 0.7032 GB, free: 1.402 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.002971/0.1733, allocations: 1.565 MB / 0.7047 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004111/0.1737, allocations: 136.4 kB / 0.7049 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.1738, allocations: 8 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.1738, allocations: 0 / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.1738, allocations: 3.938 kB / 0.7049 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.1741, allocations: 31.91 kB / 0.7049 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.292e-05/0.1742, allocations: 39.91 kB / 0.7049 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1743, allocations: 12.27 kB / 0.705 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.1744, allocations: 15.92 kB / 0.705 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.1744, allocations: 15.92 kB / 0.705 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1744, allocations: 4 kB / 0.705 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-05/0.1745, allocations: 27.97 kB / 0.705 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1746, allocations: 11.94 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.1746, allocations: 19.86 kB / 0.7051 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.1747, allocations: 43.81 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.1747, allocations: 4 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1747, allocations: 0 / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1747, allocations: 4 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005077/0.1752, allocations: 274.2 kB / 0.7054 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1753, allocations: 15.97 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.1753, allocations: 4.188 kB / 0.7054 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.1753, allocations: 38.69 kB / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1754, allocations: 4.938 kB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1755, allocations: 106.5 kB / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.1755, allocations: 4.375 kB / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1755, allocations: 384 / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.1757, allocations: 69.97 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1758, allocations: 4 kB / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1758, allocations: 0 / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1758, allocations: 4 kB / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.176, allocations: 43.95 kB / 0.7056 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.1764, allocations: 255.8 kB / 0.7059 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.1768, allocations: 54.53 kB / 0.7059 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1769, allocations: 32.89 kB / 0.706 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.177, allocations: 23.98 kB / 0.706 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.177, allocations: 34.5 kB / 0.706 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.177, allocations: 0 / 0.706 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000405/0.1774, allocations: 89.59 kB / 0.7061 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1775, allocations: 59.41 kB / 0.7062 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1776, allocations: 109.8 kB / 0.7063 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1776, allocations: 25.7 kB / 0.7063 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.1777, allocations: 88.12 kB / 0.7064 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1777, allocations: 7.953 kB / 0.7064 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.1777, allocations: 13.72 kB / 0.7064 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1779, allocations: 322.8 kB / 0.7067 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/0.178, allocations: 19.98 kB / 0.7067 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1781, allocations: 15.98 kB / 0.7067 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1783, allocations: 57.02 kB / 0.7068 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1783, allocations: 0 / 0.7068 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002242/0.1785, allocations: 77.61 kB / 0.7069 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.1785, allocations: 7.984 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1785, allocations: 4 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1785, allocations: 3.938 kB / 0.7069 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.1786, allocations: 11.98 kB / 0.7069 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1786, allocations: 0 / 0.7069 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.1787, allocations: 11.88 kB / 0.7069 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1787, allocations: 0 / 0.7069 GB, free: 13.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.613e-05/0.1788, allocations: 121.8 kB / 0.707 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.1788, allocations: 7.938 kB / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.1791, allocations: 81.64 kB / 0.7071 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1791, allocations: 0 / 0.7071 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1791, allocations: 0 / 0.7071 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1791, allocations: 0 / 0.7071 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1793, allocations: 140.7 kB / 0.7072 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1793, allocations: 4 kB / 0.7073 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.1793, allocations: 7.984 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1793, allocations: 4 kB / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1793, allocations: 0 / 0.7073 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1793, allocations: 4 kB / 0.7073 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1793, allocations: 0 / 0.7073 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.1796, allocations: 183.3 kB / 0.7074 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.1796, allocations: 8 kB / 0.7074 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1796, allocations: 0 / 0.7074 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.1797, allocations: 7.984 kB / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.1798, allocations: 8 kB / 0.7075 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1798, allocations: 4 kB / 0.7075 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.1798, allocations: 87.56 kB / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1798, allocations: 0 / 0.7076 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002368/0.1801, allocations: 12 kB / 0.7076 GB, free: 12.65 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006431/0.1807, allocations: 0.7123 MB / 0.7083 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.181, allocations: 43.95 kB / 0.7083 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.181, allocations: 0 / 0.7083 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1811, allocations: 28.25 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1814, allocations: 2.516 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1831, allocations: 1.307 MB / 0.7096 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.1834, allocations: 0.6805 MB / 0.7103 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.1835, allocations: 4 kB / 0.7103 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.1835, allocations: 19.44 kB / 0.7103 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1835, allocations: 0 / 0.7103 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.2056, allocations: 1.836 MB / 0.7121 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.11, allocations: 4.062 kB / 0.7121 GB, free: 8.031 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_FallingFactorial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.920331762055866] Failed to read output from testmodel.py, exit status != 0: 11.271684807958081 11.292884018 11.115026829 Calling exit ...