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.001815/0.001815, allocations: 98.33 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.002291/0.002291, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8495/0.8495, allocations: 134 MB / 447.2 MB, free: 10.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001978/0.001978, allocations: 62.56 kB / 0.6194 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1875, allocations: 85.91 MB / 0.7032 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001745/0.1892, allocations: 0.5807 MB / 0.7038 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.1896, allocations: 108 kB / 0.7039 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.1896, allocations: 4 kB / 0.7039 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.1896, allocations: 0 / 0.7039 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.1896, allocations: 0 / 0.7039 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.19, allocations: 47.77 kB / 0.704 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1902, allocations: 63.94 kB / 0.704 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.1902, allocations: 8 kB / 0.704 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.1902, allocations: 23.97 kB / 0.7041 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.1903, allocations: 23.97 kB / 0.7041 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1903, allocations: 4 kB / 0.7041 GB, free: 496 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.1904, allocations: 51.94 kB / 0.7041 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.1905, allocations: 23.91 kB / 0.7042 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.1905, allocations: 27.91 kB / 0.7042 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1907, allocations: 64.06 kB / 0.7042 GB, free: 328 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1907, allocations: 0 / 0.7042 GB, free: 328 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1907, allocations: 0 / 0.7042 GB, free: 328 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1907, allocations: 4 kB / 0.7042 GB, free: 324 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.0005241/0.1912, allocations: 302.3 kB / 0.7045 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1912, allocations: 8.031 kB / 0.7045 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.753e-05/0.1913, allocations: 4.188 kB / 0.7045 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.1913, allocations: 38.75 kB / 0.7046 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1913, allocations: 4.938 kB / 0.7046 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.558e-05/0.1914, allocations: 114.5 kB / 0.7047 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000446/0.1919, allocations: 0.5337 MB / 0.7052 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.1919, allocations: 4.375 kB / 0.7052 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1921, allocations: 89.69 kB / 0.7053 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1922, allocations: 0 / 0.7053 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1922, allocations: 8 kB / 0.7053 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1922, allocations: 0 / 0.7053 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.1925, allocations: 127.8 kB / 0.7054 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.1927, allocations: 148.7 kB / 0.7056 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.1931, allocations: 97.08 kB / 0.7057 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1932, allocations: 44.83 kB / 0.7057 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1932, allocations: 7.984 kB / 0.7057 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1932, allocations: 34.5 kB / 0.7058 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1932, allocations: 0 / 0.7058 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0005574/0.1938, allocations: 145.9 kB / 0.7059 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.1938, allocations: 51.41 kB / 0.7059 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.1939, allocations: 89.86 kB / 0.706 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.1939, allocations: 37.7 kB / 0.7061 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.194, allocations: 80.14 kB / 0.7061 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.194, allocations: 39.62 kB / 0.7062 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.1941, allocations: 25.7 kB / 0.7062 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1942, allocations: 318.8 kB / 0.7065 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1944, allocations: 31.97 kB / 0.7065 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1945, allocations: 35.97 kB / 0.7066 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.1948, allocations: 79.59 kB / 0.7066 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1948, allocations: 4 kB / 0.7067 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003489/0.1951, allocations: 113.5 kB / 0.7068 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1951, allocations: 4 kB / 0.7068 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1952, allocations: 3.984 kB / 0.7068 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1952, allocations: 0 / 0.7068 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1953, allocations: 31.92 kB / 0.7068 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1953, allocations: 0 / 0.7068 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.1954, allocations: 11.92 kB / 0.7068 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1954, allocations: 7.938 kB / 0.7068 GB, free: 13.37 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.0001042/0.1955, allocations: 121.8 kB / 0.7069 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.1955, allocations: 7.891 kB / 0.7069 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.1956, allocations: 15.91 kB / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1956, allocations: 0 / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1956, allocations: 0 / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1956, allocations: 0 / 0.707 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.1957, allocations: 148.7 kB / 0.7071 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1958, allocations: 4 kB / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.1959, allocations: 31.84 kB / 0.7071 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1959, allocations: 4 kB / 0.7071 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1959, allocations: 4 kB / 0.7071 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1959, allocations: 0 / 0.7071 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1959, allocations: 0 / 0.7071 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.1963, allocations: 145 kB / 0.7073 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.1963, allocations: 11.88 kB / 0.7073 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.1963, allocations: 0 / 0.7073 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.1964, allocations: 11.98 kB / 0.7073 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.1964, allocations: 11.98 kB / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1964, allocations: 7.984 kB / 0.7073 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.1965, allocations: 75.28 kB / 0.7074 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1965, allocations: 0 / 0.7074 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002338/0.1967, allocations: 20 kB / 0.7074 GB, free: 12.69 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.0008278/0.1976, allocations: 0.702 MB / 0.7081 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1979, allocations: 83.48 kB / 0.7082 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1979, allocations: 4 kB / 0.7082 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1981, allocations: 43.95 kB / 0.7082 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.1982, allocations: 12.53 kB / 0.7082 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.1988, allocations: 201.7 kB / 0.7084 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1991, allocations: 0.6961 MB / 0.7091 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.1993, allocations: 35.97 kB / 0.7091 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.1994, allocations: 19.42 kB / 0.7092 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1994, allocations: 4 kB / 0.7092 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.222, allocations: 2.2 MB / 0.7113 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.27, allocations: 6.406 kB / 0.7113 GB, free: 8.746 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --stepSize=0.00636 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.924776031984948] Failed to read output from testmodel.py, exit status != 0: 11.424317730939947 11.451989346 11.255656024 Calling exit ...