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.001269/0.001269, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001447/0.001447, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8598/0.8598, allocations: 134 MB / 447.2 MB, free: 9.926 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.002073/0.002073, allocations: 66.72 kB / 0.6193 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1726, allocations: 85.91 MB / 0.7032 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001844/0.1744, allocations: 0.5837 MB / 0.7037 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.1747, allocations: 52.2 kB / 0.7038 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1747, allocations: 0 / 0.7038 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.1748, allocations: 0 / 0.7038 GB, free: 432 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.1748, allocations: 7.938 kB / 0.7038 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.175, allocations: 19.92 kB / 0.7038 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.1751, allocations: 35.95 kB / 0.7039 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.1752, allocations: 4 kB / 0.7039 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.1752, allocations: 15.94 kB / 0.7039 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.1752, allocations: 11.97 kB / 0.7039 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1752, allocations: 4 kB / 0.7039 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.1753, allocations: 19.98 kB / 0.7039 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.1754, allocations: 7.984 kB / 0.7039 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.1754, allocations: 19.92 kB / 0.7039 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.1755, allocations: 40.11 kB / 0.704 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1755, allocations: 4 kB / 0.704 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1755, allocations: 0 / 0.704 GB, free: 240 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1755, allocations: 0 / 0.704 GB, free: 240 kB / 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.0003424/0.1759, allocations: 262.3 kB / 0.7042 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1759, allocations: 12.03 kB / 0.7042 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.216e-05/0.1759, allocations: 192 / 0.7042 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.1759, allocations: 38.75 kB / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.176, allocations: 0.9375 kB / 0.7043 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.1761, allocations: 110.5 kB / 0.7044 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-06/0.1761, allocations: 4.375 kB / 0.7044 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1761, allocations: 8.375 kB / 0.7044 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.1762, allocations: 69.91 kB / 0.7045 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1762, allocations: 0 / 0.7045 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1762, allocations: 4 kB / 0.7045 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1762, allocations: 0 / 0.7045 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.1764, allocations: 103.9 kB / 0.7046 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1766, allocations: 144.6 kB / 0.7047 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1767, allocations: 70.48 kB / 0.7048 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.1767, allocations: 24.84 kB / 0.7048 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001741/0.1769, allocations: 19.98 kB / 0.7048 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1769, allocations: 38.5 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.1769, allocations: 4 kB / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0002461/0.1772, allocations: 109.9 kB / 0.705 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1772, allocations: 59.39 kB / 0.705 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.09e-05/0.1773, allocations: 101.8 kB / 0.7051 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1773, allocations: 25.7 kB / 0.7051 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.1773, allocations: 80.14 kB / 0.7052 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.1774, allocations: 19.86 kB / 0.7052 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1775, allocations: 37.64 kB / 0.7053 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1776, allocations: 314.8 kB / 0.7056 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.1776, allocations: 19.98 kB / 0.7056 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.1777, allocations: 23.05 kB / 0.7056 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.1778, allocations: 68.77 kB / 0.7057 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1778, allocations: 0 / 0.7057 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001402/0.1779, allocations: 85.67 kB / 0.7058 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1779, allocations: 11.92 kB / 0.7058 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.178, allocations: 0 / 0.7058 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.178, allocations: 0 / 0.7058 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1781, allocations: 19.94 kB / 0.7058 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1781, allocations: 0 / 0.7058 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.1781, allocations: 15.89 kB / 0.7058 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1781, allocations: 3.984 kB / 0.7058 GB, free: 14.17 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: 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.0001405/0.1782, allocations: 125.8 kB / 0.7059 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.1783, allocations: 7.938 kB / 0.7059 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.1785, allocations: 121.5 kB / 0.7061 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1785, allocations: 3.984 kB / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1785, allocations: 4 kB / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1785, allocations: 0 / 0.7061 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1786, allocations: 148.6 kB / 0.7062 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1786, allocations: 0 / 0.7062 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.1787, allocations: 23.92 kB / 0.7062 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1787, allocations: 4 kB / 0.7062 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1787, allocations: 8 kB / 0.7062 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1787, allocations: 0 / 0.7062 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1787, allocations: 4 kB / 0.7062 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1789, allocations: 126.5 kB / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.1789, allocations: 7.953 kB / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1789, allocations: 0 / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.781e-05/0.1789, allocations: 4 kB / 0.7064 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.179, allocations: 7.984 kB / 0.7064 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.179, allocations: 4 kB / 0.7064 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.179, allocations: 75.28 kB / 0.7065 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.179, allocations: 4 kB / 0.7065 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001979/0.1792, allocations: 16 kB / 0.7065 GB, free: 13.41 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: 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.0005917/0.1798, allocations: 0.667 MB / 0.7071 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.1799, allocations: 54.05 kB / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1799, allocations: 4 kB / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.18, allocations: 35.91 kB / 0.7072 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.1801, allocations: 7.938 kB / 0.7072 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.1805, allocations: 186.4 kB / 0.7074 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.1806, allocations: 71.2 kB / 0.7075 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.347e-05/0.1807, allocations: 31.97 kB / 0.7075 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.1807, allocations: 19.42 kB / 0.7075 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1807, allocations: 0 / 0.7075 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.2026, allocations: 1.726 MB / 0.7092 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.23, allocations: 13.38 kB / 0.7092 GB, free: 10.67 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.81703670998104] Failed to read output from testmodel.py, exit status != 0: 11.39433701208327 11.41265879 11.234078685 Calling exit ...