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.001297/0.001297, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001857/0.001857, allocations: 216 kB / 22.26 MB, free: 5.125 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.992 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.8536/0.8536, allocations: 134 MB / 446.4 MB, free: 10.2 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.002/0.002, allocations: 70.67 kB / 0.6186 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 85.91 MB / 0.7025 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.002376/0.1807, allocations: 0.5811 MB / 0.703 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005495/0.1813, allocations: 108 kB / 0.7031 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.1813, allocations: 0 / 0.7031 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.1813, allocations: 3.984 kB / 0.7032 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 1.026e-05/0.1813, allocations: 7.938 kB / 0.7032 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.1818, allocations: 35.91 kB / 0.7032 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.182, allocations: 71.92 kB / 0.7033 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.182, allocations: 0 / 0.7033 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.1821, allocations: 23.98 kB / 0.7033 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.1821, allocations: 27.95 kB / 0.7033 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.1822, allocations: 4 kB / 0.7033 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.1824, allocations: 51.94 kB / 0.7034 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.959e-05/0.1824, allocations: 19.92 kB / 0.7034 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.1825, allocations: 19.92 kB / 0.7034 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1827, allocations: 76.03 kB / 0.7035 GB, free: 344 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1827, allocations: 0 / 0.7035 GB, free: 344 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1827, allocations: 0 / 0.7035 GB, free: 344 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.1827, allocations: 7.938 kB / 0.7035 GB, free: 336 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.0006863/0.1834, allocations: 294.3 kB / 0.7038 GB, free: 8 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.383e-05/0.1835, allocations: 12.08 kB / 0.7038 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.1835, allocations: 46.69 kB / 0.7038 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.1836, allocations: 4.938 kB / 0.7038 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1837, allocations: 106.5 kB / 0.7039 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006395/0.1843, allocations: 0.5337 MB / 0.7044 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1844, allocations: 12.31 kB / 0.7045 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.1847, allocations: 85.94 kB / 0.7045 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1847, allocations: 0 / 0.7045 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.1848, allocations: 4 kB / 0.7045 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1848, allocations: 0 / 0.7045 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/0.1853, allocations: 131.8 kB / 0.7047 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.1856, allocations: 152.7 kB / 0.7048 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.1861, allocations: 86.47 kB / 0.7049 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.1863, allocations: 41.92 kB / 0.7049 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1863, allocations: 4 kB / 0.7049 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.1864, allocations: 42.5 kB / 0.705 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.1864, allocations: 0 / 0.705 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.00083/0.1872, allocations: 141.9 kB / 0.7051 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.1873, allocations: 55.41 kB / 0.7052 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.1874, allocations: 89.86 kB / 0.7053 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1874, allocations: 33.69 kB / 0.7053 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1874, allocations: 84.14 kB / 0.7054 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.1875, allocations: 39.62 kB / 0.7054 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.1876, allocations: 25.7 kB / 0.7054 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1878, allocations: 322.8 kB / 0.7057 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.188, allocations: 27.97 kB / 0.7058 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.1882, allocations: 39.42 kB / 0.7058 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.1886, allocations: 72.81 kB / 0.7059 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1886, allocations: 4 kB / 0.7059 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005612/0.1892, allocations: 113.6 kB / 0.706 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.1892, allocations: 15.92 kB / 0.706 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1892, allocations: 0 / 0.706 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1893, allocations: 0 / 0.706 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.1895, allocations: 27.92 kB / 0.706 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1895, allocations: 4 kB / 0.706 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.1896, allocations: 7.875 kB / 0.706 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.1896, allocations: 7.984 kB / 0.706 GB, free: 13.39 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.000147/0.1898, allocations: 121.8 kB / 0.7062 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1898, allocations: 15.88 kB / 0.7062 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.1899, allocations: 11.91 kB / 0.7062 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1899, allocations: 0 / 0.7062 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1899, allocations: 0 / 0.7062 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.1899, allocations: 4 kB / 0.7062 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1901, allocations: 140.7 kB / 0.7063 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1901, allocations: 0 / 0.7063 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.1903, allocations: 31.91 kB / 0.7064 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1903, allocations: 3.938 kB / 0.7064 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1903, allocations: 0 / 0.7064 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1903, allocations: 4 kB / 0.7064 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.1903, allocations: 4 kB / 0.7064 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.1909, allocations: 145 kB / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.1909, allocations: 7.875 kB / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.1909, allocations: 4 kB / 0.7065 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.191, allocations: 4 kB / 0.7065 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.1911, allocations: 11.97 kB / 0.7065 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1911, allocations: 8 kB / 0.7065 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.1911, allocations: 75.28 kB / 0.7066 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1911, allocations: 0 / 0.7066 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004225/0.1916, allocations: 27.98 kB / 0.7066 GB, free: 12.71 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.001083/0.1927, allocations: 0.7089 MB / 0.7073 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005418/0.1932, allocations: 83.88 kB / 0.7074 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1932, allocations: 0 / 0.7074 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.1935, allocations: 43.95 kB / 0.7075 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.1937, allocations: 6.25 kB / 0.7075 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.1945, allocations: 202.5 kB / 0.7077 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.1949, allocations: 0.6844 MB / 0.7083 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.1952, allocations: 39.95 kB / 0.7084 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.1952, allocations: 27.42 kB / 0.7084 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1952, allocations: 0 / 0.7084 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.223, allocations: 2.169 MB / 0.7105 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.79, allocations: 6.719 kB / 0.7105 GB, free: 8.793 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: 14.469944672004203] Failed to read output from testmodel.py, exit status != 0: 10.897460613996373 10.927345536 10.739474452 Calling exit ...