Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001269/0.001269, 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.001536/0.001536, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.9561/0.9561, allocations: 134 MB / 447.2 MB, free: 10.16 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.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Binomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Binomial",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.002027/0.002027, allocations: 63.34 kB / 0.6193 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 85.91 MB / 0.7032 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002949/0.1881, allocations: 1.558 MB / 0.7047 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004953/0.1886, allocations: 192.2 kB / 0.7049 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.1886, allocations: 4 kB / 0.7049 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.1887, allocations: 3.938 kB / 0.7049 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.824e-05/0.1887, allocations: 0 / 0.7049 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.189, allocations: 59.8 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.1891, allocations: 31.92 kB / 0.705 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1892, allocations: 12.22 kB / 0.705 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.1892, allocations: 15.98 kB / 0.705 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.1893, allocations: 15.92 kB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1893, allocations: 7.984 kB / 0.7051 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1894, allocations: 55.95 kB / 0.7051 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.1895, allocations: 7.938 kB / 0.7051 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.1895, allocations: 19.91 kB / 0.7051 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.1897, allocations: 71.78 kB / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1897, allocations: 0 / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1897, allocations: 0 / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1897, allocations: 0 / 0.7052 GB, free: 15.29 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.0005154/0.1902, allocations: 286.1 kB / 0.7055 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1902, allocations: 12.03 kB / 0.7055 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.617e-05/0.1902, allocations: 8.188 kB / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.1903, allocations: 38.73 kB / 0.7055 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.1903, allocations: 4.938 kB / 0.7055 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.1904, allocations: 110.4 kB / 0.7057 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1904, allocations: 8.375 kB / 0.7057 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1904, allocations: 4.312 kB / 0.7057 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1906, allocations: 69.97 kB / 0.7057 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1907, allocations: 0 / 0.7057 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1907, allocations: 4 kB / 0.7057 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1907, allocations: 0 / 0.7057 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.1909, allocations: 43.95 kB / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.1913, allocations: 251.8 kB / 0.706 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.1916, allocations: 58.53 kB / 0.7061 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1917, allocations: 24.91 kB / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.1919, allocations: 16.05 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1919, allocations: 30.56 kB / 0.7061 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1919, allocations: 0 / 0.7061 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004203/0.1923, allocations: 109.5 kB / 0.7062 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1924, allocations: 51.41 kB / 0.7063 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.1925, allocations: 105.8 kB / 0.7064 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1925, allocations: 25.7 kB / 0.7064 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.1926, allocations: 88.14 kB / 0.7065 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.1926, allocations: 3.953 kB / 0.7065 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.1926, allocations: 25.64 kB / 0.7065 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1928, allocations: 314.8 kB / 0.7068 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.1929, allocations: 27.97 kB / 0.7069 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.1929, allocations: 19.98 kB / 0.7069 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.1931, allocations: 40.81 kB / 0.7069 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1931, allocations: 0 / 0.7069 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002485/0.1934, allocations: 81.55 kB / 0.707 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1934, allocations: 14.34 kB / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1934, allocations: 0 / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1934, allocations: 0 / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.1935, allocations: 11.98 kB / 0.707 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1935, allocations: 0 / 0.707 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.794e-05/0.1936, allocations: 7.984 kB / 0.707 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1936, allocations: 4 kB / 0.707 GB, free: 13.23 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 (bin.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 0.0001032/0.1937, allocations: 114.1 kB / 0.7071 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1937, allocations: 4 kB / 0.7071 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.194, allocations: 93.56 kB / 0.7072 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.194, allocations: 0 / 0.7072 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.194, allocations: 0 / 0.7072 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.194, allocations: 0 / 0.7072 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1942, allocations: 140.6 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1942, allocations: 4 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.1943, allocations: 15.92 kB / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1943, allocations: 4 kB / 0.7074 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1943, allocations: 7.984 kB / 0.7074 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1943, allocations: 4 kB / 0.7074 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1943, allocations: 0 / 0.7074 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.1946, allocations: 171.4 kB / 0.7076 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.1946, allocations: 0 / 0.7076 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1946, allocations: 0 / 0.7076 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.494e-05/0.1947, allocations: 11.98 kB / 0.7076 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1947, allocations: 15.92 kB / 0.7076 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1947, allocations: 0 / 0.7076 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.1948, allocations: 95.56 kB / 0.7077 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1948, allocations: 0 / 0.7077 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002489/0.195, allocations: 15.94 kB / 0.7077 GB, free: 12.46 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,bin.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.0007341/0.1958, allocations: 0.724 MB / 0.7084 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.196, allocations: 47.89 kB / 0.7085 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.196, allocations: 0 / 0.7085 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1961, allocations: 23.97 kB / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1965, allocations: 8 kB / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.1981, allocations: 1.28 MB / 0.7097 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.1985, allocations: 0.6805 MB / 0.7104 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.1985, allocations: 8 kB / 0.7104 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.1985, allocations: 15.44 kB / 0.7104 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1985, allocations: 0 / 0.7104 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.2216, allocations: 2.085 MB / 0.7125 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.31, allocations: 9.734 kB / 0.7125 GB, free: 7.598 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.046366455964744] Failed to read output from testmodel.py, exit status != 0: 11.474746932974085 11.500747339 11.306462818 Calling exit ...