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.001301/0.001301, 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.00154/0.00154, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.754 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.8286/0.8286, allocations: 134 MB / 446.4 MB, free: 9.934 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.002071/0.002071, allocations: 65.62 kB / 0.6185 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1899, allocations: 85.91 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003089/0.193, allocations: 1.547 MB / 0.7039 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005261/0.1935, allocations: 176.3 kB / 0.7041 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.1935, allocations: 0 / 0.7041 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.1936, allocations: 3.938 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.1936, allocations: 3.938 kB / 0.7041 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.194, allocations: 59.88 kB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.1941, allocations: 27.92 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.1941, allocations: 16.25 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.1942, allocations: 15.94 kB / 0.7042 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.1942, allocations: 19.86 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1943, allocations: 4 kB / 0.7042 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.1944, allocations: 55.94 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.1944, allocations: 7.984 kB / 0.7043 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.1944, allocations: 11.94 kB / 0.7043 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1946, allocations: 71.72 kB / 0.7043 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.1946, allocations: 4 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1946, allocations: 0 / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.1946, allocations: 0 / 0.7044 GB, free: 15.01 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.0005236/0.1951, allocations: 290.1 kB / 0.7046 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1952, allocations: 12.03 kB / 0.7046 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.1952, allocations: 34.75 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1953, allocations: 4.938 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1954, allocations: 110.5 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1954, allocations: 4.375 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.1954, allocations: 384 / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.1957, allocations: 66.2 kB / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1957, allocations: 7.938 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1957, allocations: 0 / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1957, allocations: 0 / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1959, allocations: 51.89 kB / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.1964, allocations: 243.9 kB / 0.7051 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.1967, allocations: 58.52 kB / 0.7052 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1968, allocations: 24.91 kB / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001662/0.197, allocations: 11.98 kB / 0.7052 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.197, allocations: 38.5 kB / 0.7053 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.197, allocations: 0 / 0.7053 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004028/0.1974, allocations: 101.6 kB / 0.7054 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.1975, allocations: 51.41 kB / 0.7054 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1976, allocations: 117.8 kB / 0.7055 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1976, allocations: 25.7 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.1977, allocations: 84.14 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1977, allocations: 7.938 kB / 0.7056 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.1977, allocations: 17.72 kB / 0.7057 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1979, allocations: 318.8 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.198, allocations: 23.97 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.1981, allocations: 23.92 kB / 0.706 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.1982, allocations: 48.81 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1982, allocations: 0 / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002287/0.1985, allocations: 73.61 kB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1985, allocations: 4 kB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1985, allocations: 0 / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1985, allocations: 7.938 kB / 0.7061 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.1986, allocations: 19.98 kB / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1986, allocations: 0 / 0.7062 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.1986, allocations: 7.984 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1987, allocations: 4 kB / 0.7062 GB, free: 12.96 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.0001061/0.1988, allocations: 113.7 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.1988, allocations: 4 kB / 0.7063 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.1991, allocations: 85.64 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1991, allocations: 4 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1991, allocations: 0 / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1991, allocations: 3.984 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.1993, allocations: 136.6 kB / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1993, allocations: 0 / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.527e-05/0.1994, allocations: 11.98 kB / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1994, allocations: 0 / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1994, allocations: 0 / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1994, allocations: 0 / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1994, allocations: 4 kB / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.1997, allocations: 187.7 kB / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.1997, allocations: 0 / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1997, allocations: 48 / 0.7067 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.1998, allocations: 11.92 kB / 0.7067 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.1998, allocations: 11.98 kB / 0.7067 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.1998, allocations: 0 / 0.7067 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.058e-05/0.1999, allocations: 91.27 kB / 0.7068 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1999, allocations: 0 / 0.7068 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002436/0.2001, allocations: 16 kB / 0.7068 GB, free: 12.21 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.0007183/0.2009, allocations: 0.7318 MB / 0.7075 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.2011, allocations: 39.95 kB / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2011, allocations: 0 / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.2012, allocations: 23.98 kB / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.2015, allocations: 8 kB / 0.7076 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2031, allocations: 1.288 MB / 0.7089 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.306e-05/0.2032, allocations: 67.2 kB / 0.7089 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.2032, allocations: 4 kB / 0.7089 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.2033, allocations: 19.42 kB / 0.7089 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.2033, allocations: 0 / 0.7089 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.2337, allocations: 2.482 MB / 0.7114 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 3.391 kB / 0.7114 GB, free: 7.562 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 sys.exit(0), Time elapsed: 14.74089987296611] Failed to read output from testmodel.py, exit status != 0: 11.330581195186824 11.348345281 11.150436465 Calling exit ...