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.001653/0.001653, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002132/0.002132, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.479/1.479, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.8732/0.8732, allocations: 133.9 MB / 443.5 MB, free: 13.85 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: 70.72 kB / 0.6141 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1981, allocations: 85.85 MB / 0.6979 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003328/0.2014, allocations: 1.556 MB / 0.6995 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005453/0.202, allocations: 181.6 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.202, allocations: 1.375 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.202, allocations: 3.938 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.544e-05/0.2021, allocations: 3.938 kB / 0.6996 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.2025, allocations: 52.38 kB / 0.6997 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/0.2025, allocations: 37.61 kB / 0.6997 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2027, allocations: 16.09 kB / 0.6997 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.2027, allocations: 14.88 kB / 0.6998 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.2027, allocations: 20.03 kB / 0.6998 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2028, allocations: 4.125 kB / 0.6998 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.2029, allocations: 43.34 kB / 0.6998 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.2029, allocations: 17.28 kB / 0.6998 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.203, allocations: 16.06 kB / 0.6999 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.2031, allocations: 67.77 kB / 0.6999 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2031, allocations: 0 / 0.6999 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2031, allocations: 0 / 0.6999 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2031, allocations: 1.375 kB / 0.6999 GB, free: 12.2 MB / 0.5137 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.0005977/0.2037, allocations: 366.5 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.2038, allocations: 11.3 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.889e-05/0.2038, allocations: 1.562 kB / 0.7003 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.2038, allocations: 30.75 kB / 0.7003 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.2039, allocations: 3.688 kB / 0.7003 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.204, allocations: 169.7 kB / 0.7005 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.2041, allocations: 7.125 kB / 0.7005 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2041, allocations: 5.688 kB / 0.7005 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.2043, allocations: 71.84 kB / 0.7006 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2043, allocations: 0 / 0.7006 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2043, allocations: 0 / 0.7006 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2043, allocations: 1.375 kB / 0.7006 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.2045, allocations: 44.7 kB / 0.7006 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.205, allocations: 286.6 kB / 0.7009 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.2054, allocations: 57.92 kB / 0.7009 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2055, allocations: 27.83 kB / 0.701 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.2057, allocations: 165.1 kB / 0.7011 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2058, allocations: 30.56 kB / 0.7011 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.2058, allocations: 5.375 kB / 0.7012 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000458/0.2062, allocations: 102.3 kB / 0.7012 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.2063, allocations: 51.41 kB / 0.7013 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2064, allocations: 108.2 kB / 0.7014 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2064, allocations: 25.7 kB / 0.7014 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.2065, allocations: 89.95 kB / 0.7015 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.2065, allocations: 5.141 kB / 0.7015 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.2065, allocations: 25.14 kB / 0.7015 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2066, allocations: 316 kB / 0.7018 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.2068, allocations: 18.7 kB / 0.7019 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.2068, allocations: 27.3 kB / 0.7019 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.207, allocations: 47.59 kB / 0.7019 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.207, allocations: 8 kB / 0.7019 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002351/0.2073, allocations: 76.61 kB / 0.702 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2073, allocations: 7.312 kB / 0.702 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2073, allocations: 0 / 0.702 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2073, allocations: 0 / 0.702 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.699e-05/0.2074, allocations: 12.73 kB / 0.702 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2074, allocations: 0 / 0.702 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.2075, allocations: 12.64 kB / 0.702 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.2075, allocations: 4 kB / 0.702 GB, free: 10.03 MB / 0.5137 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 9.963e-05/0.2076, allocations: 113.3 kB / 0.7022 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.2076, allocations: 1.188 kB / 0.7022 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.2079, allocations: 87.77 kB / 0.7022 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2079, allocations: 1.062 kB / 0.7022 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2079, allocations: 0 / 0.7022 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2079, allocations: 1.094 kB / 0.7022 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.2081, allocations: 168.6 kB / 0.7024 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2081, allocations: 1.344 kB / 0.7024 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.676e-05/0.2082, allocations: 11.11 kB / 0.7024 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2082, allocations: 0 / 0.7024 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2082, allocations: 9.719 kB / 0.7024 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2082, allocations: 0 / 0.7024 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2082, allocations: 3.984 kB / 0.7024 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.2085, allocations: 179.5 kB / 0.7026 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.2086, allocations: 82.17 kB / 0.7027 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2086, allocations: 1.25 kB / 0.7027 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.2087, allocations: 8.016 kB / 0.7027 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.2087, allocations: 10.14 kB / 0.7027 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2087, allocations: 5.062 kB / 0.7027 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.2088, allocations: 85.78 kB / 0.7028 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2088, allocations: 0 / 0.7028 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002475/0.209, allocations: 18.31 kB / 0.7028 GB, free: 9.25 MB / 0.5137 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.0007277/0.2098, allocations: 0.7277 MB / 0.7035 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.21, allocations: 53.77 kB / 0.7036 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.21, allocations: 0 / 0.7036 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.2101, allocations: 26.25 kB / 0.7036 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.2105, allocations: 9.344 kB / 0.7036 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.2121, allocations: 1.28 MB / 0.7048 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.2125, allocations: 0.6872 MB / 0.7055 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.2125, allocations: 6.875 kB / 0.7055 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.2125, allocations: 15.56 kB / 0.7055 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.2125, allocations: 0 / 0.7055 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.2321, allocations: 1.954 MB / 0.7074 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.348, allocations: 16.89 kB / 0.7075 GB, free: 4.738 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.180422737030312] Failed to read output from testmodel.py, exit status != 0: 8.781467994034756 8.483949832 8.277720705 Calling exit ...