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.001263/0.001263, allocations: 101.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.001407/0.001407, allocations: 217.6 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.797 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.8355/0.8355, allocations: 134 MB / 447.2 MB, free: 9.918 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.002075/0.002075, allocations: 65.41 kB / 0.6192 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1762, allocations: 85.91 MB / 0.7031 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.003002/0.1792, allocations: 1.551 MB / 0.7047 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004148/0.1796, allocations: 128.5 kB / 0.7048 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.1797, allocations: 3.938 kB / 0.7048 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/0.1797, allocations: 4 kB / 0.7048 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.1797, allocations: 3.938 kB / 0.7048 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1801, allocations: 39.89 kB / 0.7048 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.97e-05/0.1801, allocations: 35.86 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1802, allocations: 16.27 kB / 0.7049 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.1803, allocations: 15.98 kB / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/0.1803, allocations: 19.92 kB / 0.7049 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1803, allocations: 3.938 kB / 0.7049 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.1804, allocations: 23.97 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.1804, allocations: 4 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.1805, allocations: 19.91 kB / 0.705 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1806, allocations: 43.83 kB / 0.705 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1806, allocations: 4 kB / 0.705 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1806, allocations: 0 / 0.705 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.1806, allocations: 0 / 0.705 GB, free: 15.14 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.0004601/0.1811, allocations: 278.2 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1811, allocations: 16.02 kB / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.326e-05/0.1811, allocations: 192 / 0.7053 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.1812, allocations: 38.69 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.1812, allocations: 8.875 kB / 0.7053 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1813, allocations: 110.5 kB / 0.7054 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1813, allocations: 4.359 kB / 0.7054 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1813, allocations: 8.375 kB / 0.7054 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1816, allocations: 65.97 kB / 0.7055 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1816, allocations: 4 kB / 0.7055 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1816, allocations: 0 / 0.7055 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1816, allocations: 0 / 0.7055 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.1818, allocations: 47.95 kB / 0.7056 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1822, allocations: 239.8 kB / 0.7058 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.1825, allocations: 58.53 kB / 0.7058 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1826, allocations: 28.91 kB / 0.7059 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.1828, allocations: 19.98 kB / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1828, allocations: 30.56 kB / 0.7059 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1828, allocations: 7.938 kB / 0.7059 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004023/0.1832, allocations: 93.72 kB / 0.706 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1832, allocations: 51.41 kB / 0.7061 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.1833, allocations: 109.8 kB / 0.7062 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1834, allocations: 29.7 kB / 0.7062 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.1834, allocations: 88.14 kB / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.1835, allocations: 3.953 kB / 0.7063 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1835, allocations: 17.7 kB / 0.7063 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1837, allocations: 322.8 kB / 0.7066 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.1838, allocations: 19.97 kB / 0.7066 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.104e-05/0.1839, allocations: 20.02 kB / 0.7066 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.184, allocations: 52.75 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.184, allocations: 4 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002237/0.1843, allocations: 81.61 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1843, allocations: 4 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1843, allocations: 0 / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1843, allocations: 0 / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.1844, allocations: 11.98 kB / 0.7068 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1844, allocations: 3.938 kB / 0.7068 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.1845, allocations: 11.92 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1845, allocations: 0 / 0.7068 GB, free: 13.09 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.53e-05/0.1846, allocations: 121.8 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.1846, allocations: 4 kB / 0.7069 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.1849, allocations: 81.58 kB / 0.707 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1849, allocations: 3.938 kB / 0.707 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1849, allocations: 4 kB / 0.707 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1849, allocations: 0 / 0.707 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.185, allocations: 140.8 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.185, allocations: 0 / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.1851, allocations: 12 kB / 0.7072 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1851, allocations: 3.984 kB / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1851, allocations: 0 / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1851, allocations: 0 / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1851, allocations: 0 / 0.7072 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1854, allocations: 175.3 kB / 0.7073 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.1854, allocations: 4 kB / 0.7073 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1855, allocations: 7.984 kB / 0.7073 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.1855, allocations: 8 kB / 0.7074 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1856, allocations: 7.984 kB / 0.7074 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1856, allocations: 0 / 0.7074 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.1856, allocations: 95.25 kB / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1856, allocations: 0 / 0.7075 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002291/0.1859, allocations: 8 kB / 0.7075 GB, free: 12.35 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.0006677/0.1865, allocations: 0.7126 MB / 0.7082 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.1868, allocations: 51.94 kB / 0.7082 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1868, allocations: 0 / 0.7082 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.809e-05/0.1869, allocations: 27.97 kB / 0.7082 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1872, allocations: 0 / 0.7082 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1888, allocations: 1.289 MB / 0.7095 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.505e-05/0.1889, allocations: 71.23 kB / 0.7096 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.1889, allocations: 16.05 kB / 0.7096 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.189, allocations: 15.44 kB / 0.7096 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.189, allocations: 0 / 0.7096 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.2116, allocations: 1.884 MB / 0.7114 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.38, allocations: 7.891 kB / 0.7114 GB, free: 8.305 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.052492068032734] Failed to read output from testmodel.py, exit status != 0: 11.559303277055733 11.576627708 11.392235506 Calling exit ...