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.001479/0.001479, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00182/0.00182, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.789 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.894/0.894, allocations: 134 MB / 446.4 MB, free: 9.93 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: translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") [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.002192/0.002192, allocations: 75.75 kB / 0.619 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2103, allocations: 85.91 MB / 0.7029 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003314/0.2136, allocations: 1.551 MB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005547/0.2142, allocations: 176.3 kB / 0.7046 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.2142, allocations: 4 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.2143, allocations: 3.938 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.2143, allocations: 3.938 kB / 0.7046 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.2147, allocations: 51.88 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.945e-05/0.2148, allocations: 39.86 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.2149, allocations: 7.984 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.215, allocations: 11.98 kB / 0.7047 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.061e-05/0.215, allocations: 19.92 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.215, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.2152, allocations: 55.92 kB / 0.7047 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.2152, allocations: 15.94 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.2152, allocations: 11.94 kB / 0.7048 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2155, allocations: 67.78 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2155, allocations: 4 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2155, allocations: 0 / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2155, allocations: 0 / 0.7048 GB, free: 14.52 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.0005726/0.2161, allocations: 294 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2161, allocations: 8.031 kB / 0.7051 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.2161, allocations: 4.938 kB / 0.7051 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.2164, allocations: 110.5 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2164, allocations: 8.375 kB / 0.7052 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.2164, allocations: 384 / 0.7052 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.2166, allocations: 66.22 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2166, allocations: 4.172 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2166, allocations: 3.938 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2166, allocations: 0 / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.2168, allocations: 51.88 kB / 0.7054 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.2172, allocations: 212.5 kB / 0.7056 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.2176, allocations: 62.48 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.2177, allocations: 28.89 kB / 0.7057 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.2179, allocations: 11.98 kB / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2179, allocations: 38.5 kB / 0.7057 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2179, allocations: 0 / 0.7057 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004296/0.2183, allocations: 97.62 kB / 0.7058 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.2184, allocations: 51.41 kB / 0.7058 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2185, allocations: 109.8 kB / 0.7059 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2185, allocations: 25.7 kB / 0.706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.2186, allocations: 84.14 kB / 0.7061 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.2186, allocations: 7.891 kB / 0.7061 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.2186, allocations: 21.72 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.2188, allocations: 314.8 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.219, allocations: 19.98 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.2191, allocations: 28.16 kB / 0.7064 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.2192, allocations: 48.77 kB / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.2193, allocations: 7.938 kB / 0.7065 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002314/0.2195, allocations: 77.59 kB / 0.7066 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2195, allocations: 4 kB / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2195, allocations: 0 / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.2195, allocations: 0 / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.2196, allocations: 15.98 kB / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2196, allocations: 0 / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.748e-05/0.2197, allocations: 8 kB / 0.7066 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2197, allocations: 7.984 kB / 0.7066 GB, free: 12.54 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.0001283/0.2198, allocations: 113.7 kB / 0.7067 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.2199, allocations: 4 kB / 0.7067 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.2201, allocations: 81.33 kB / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2201, allocations: 0 / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2201, allocations: 4.375 kB / 0.7068 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2201, allocations: 4 kB / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.2203, allocations: 109.2 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2203, allocations: 0 / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.2204, allocations: 11.98 kB / 0.7069 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.2204, allocations: 3.984 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.2204, allocations: 4 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2204, allocations: 0 / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2204, allocations: 0 / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.2207, allocations: 183.3 kB / 0.7071 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.858e-05/0.2207, allocations: 8 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2207, allocations: 0 / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.2208, allocations: 7.984 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.2208, allocations: 0 / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2208, allocations: 4 kB / 0.7071 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.2209, allocations: 91.27 kB / 0.7072 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2209, allocations: 0 / 0.7072 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000253/0.2212, allocations: 15.94 kB / 0.7072 GB, free: 11.85 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.0002133/0.2214, allocations: 127.2 kB / 0.7073 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.2216, allocations: 43.89 kB / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2216, allocations: 0 / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.671e-05/0.2217, allocations: 27.97 kB / 0.7074 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.0003125/0.222, allocations: 11.88 kB / 0.7074 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.2224, allocations: 109.7 kB / 0.7075 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.994e-05/0.2225, allocations: 71.2 kB / 0.7076 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.2225, allocations: 4 kB / 0.7076 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.2225, allocations: 15.42 kB / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.2225, allocations: 0 / 0.7076 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.003994/0.2265, allocations: 0.987 MB / 0.7086 GB, free: 10.41 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.897677371278405] Failed to read output from testmodel.py, exit status != 0: 0.23532795906066895 0.25214160799999996 0.03347149999999994 Calling exit ...