Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.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.001405/0.001405, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00162/0.00162, allocations: 215.7 kB / 22.25 MB, free: 5.254 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.437/1.437, allocations: 230.6 MB / 256 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.8764/0.8764, allocations: 134 MB / 446.4 MB, free: 9.938 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.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",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.002291/0.002291, allocations: 71.05 kB / 0.6185 GB, free: 6.859 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.179, allocations: 85.9 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001843/0.1808, allocations: 0.5876 MB / 0.703 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004113/0.1813, allocations: 104.1 kB / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.1813, allocations: 0 / 0.7031 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.1813, allocations: 3.938 kB / 0.7031 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.1813, allocations: 0 / 0.7031 GB, free: 364 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1817, allocations: 39.89 kB / 0.7031 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1818, allocations: 59.94 kB / 0.7032 GB, free: 264 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.1818, allocations: 7.984 kB / 0.7032 GB, free: 256 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.1819, allocations: 23.98 kB / 0.7032 GB, free: 232 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.1819, allocations: 23.91 kB / 0.7032 GB, free: 208 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1819, allocations: 8 kB / 0.7033 GB, free: 200 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1821, allocations: 51.92 kB / 0.7033 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.1821, allocations: 23.92 kB / 0.7033 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1822, allocations: 19.92 kB / 0.7033 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1823, allocations: 72.05 kB / 0.7034 GB, free: 32 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1823, allocations: 4 kB / 0.7034 GB, free: 28 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1823, allocations: 0 / 0.7034 GB, free: 28 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1823, allocations: 0 / 0.7034 GB, free: 28 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.0005168/0.1829, allocations: 294.3 kB / 0.7037 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1829, allocations: 8.031 kB / 0.7037 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.1829, allocations: 42.75 kB / 0.7037 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.183, allocations: 8.938 kB / 0.7038 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.034e-05/0.1831, allocations: 118.4 kB / 0.7039 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000434/0.1835, allocations: 0.526 MB / 0.7044 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1835, allocations: 4.375 kB / 0.7044 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1838, allocations: 88.17 kB / 0.7045 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1838, allocations: 0 / 0.7045 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1838, allocations: 8 kB / 0.7045 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1838, allocations: 0 / 0.7045 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.1841, allocations: 119.8 kB / 0.7046 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.1843, allocations: 152.7 kB / 0.7047 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.1846, allocations: 90.47 kB / 0.7048 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1848, allocations: 40.83 kB / 0.7049 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.1848, allocations: 8 kB / 0.7049 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.1848, allocations: 34.5 kB / 0.7049 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 9.91e-07/0.1848, allocations: 0 / 0.7049 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005108/0.1853, allocations: 145.9 kB / 0.705 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1854, allocations: 51.41 kB / 0.7051 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.1854, allocations: 93.8 kB / 0.7052 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1855, allocations: 29.7 kB / 0.7052 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.1855, allocations: 84.14 kB / 0.7053 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.1856, allocations: 39.69 kB / 0.7053 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.1856, allocations: 25.7 kB / 0.7053 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1858, allocations: 318.8 kB / 0.7057 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1859, allocations: 27.98 kB / 0.7057 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.186, allocations: 39.36 kB / 0.7057 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1863, allocations: 76.75 kB / 0.7058 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1863, allocations: 0 / 0.7058 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000313/0.1866, allocations: 109.6 kB / 0.7059 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1866, allocations: 7.938 kB / 0.7059 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1866, allocations: 4 kB / 0.7059 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1866, allocations: 3.938 kB / 0.7059 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1868, allocations: 35.91 kB / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1868, allocations: 0 / 0.7059 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.1869, allocations: 7.938 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1869, allocations: 11.92 kB / 0.706 GB, free: 13.1 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: 1 (n) * 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.0001126/0.187, allocations: 113.8 kB / 0.7061 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.187, allocations: 7.891 kB / 0.7061 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/0.187, allocations: 15.91 kB / 0.7061 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1871, allocations: 3.984 kB / 0.7061 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.1871, allocations: 8 kB / 0.7061 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1871, allocations: 0 / 0.7061 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1872, allocations: 144.7 kB / 0.7062 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1872, allocations: 0 / 0.7062 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1873, allocations: 27.91 kB / 0.7063 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.1873, allocations: 11.92 kB / 0.7063 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1873, allocations: 0 / 0.7063 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1874, allocations: 0 / 0.7063 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1874, allocations: 0 / 0.7063 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1877, allocations: 149 kB / 0.7064 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.1877, allocations: 11.88 kB / 0.7064 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1877, allocations: 4 kB / 0.7064 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-05/0.1878, allocations: 4 kB / 0.7064 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.1878, allocations: 11.97 kB / 0.7065 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.1879, allocations: 4 kB / 0.7065 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.549e-05/0.1879, allocations: 75.28 kB / 0.7065 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1879, allocations: 0 / 0.7065 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002221/0.1881, allocations: 31.92 kB / 0.7066 GB, free: 12.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: 1 (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.0007702/0.1889, allocations: 0.6973 MB / 0.7072 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.1892, allocations: 83.88 kB / 0.7073 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1893, allocations: 0 / 0.7073 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1894, allocations: 51.89 kB / 0.7074 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.1895, allocations: 4 kB / 0.7074 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.1901, allocations: 190.6 kB / 0.7076 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.01e-05/0.1902, allocations: 75.14 kB / 0.7076 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.1904, allocations: 39.95 kB / 0.7077 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.1904, allocations: 19.42 kB / 0.7077 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1904, allocations: 0 / 0.7077 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.22, allocations: 2.51 MB / 0.7101 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.36, allocations: 3 kB / 0.7101 GB, free: 8.809 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.018488755915314] Failed to read output from testmodel.py, exit status != 0: 11.458160354290158 11.474123566 11.288723837 Calling exit ...