Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001363/0.001363, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001504/0.001504, allocations: 210.5 kB / 22.99 MB, free: 4.609 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.617/1.617, allocations: 230.6 MB / 256.7 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.039/1.039, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: IBPSA 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.002412/0.002412, allocations: 71.02 kB / 0.6415 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2088, allocations: 89.17 MB / 0.7286 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.003589/0.2124, allocations: 1.553 MB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006622/0.213, allocations: 175.5 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.2131, allocations: 0 / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.2131, allocations: 3.938 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.2132, allocations: 8 kB / 0.7303 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.2137, allocations: 59.81 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2138, allocations: 35.84 kB / 0.7304 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2139, allocations: 8 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.214, allocations: 15.98 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.214, allocations: 15.92 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.2141, allocations: 11.92 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.2142, allocations: 47.95 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.2143, allocations: 4 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.2143, allocations: 19.91 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.2145, allocations: 71.78 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2145, allocations: 0 / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2145, allocations: 0 / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.2145, allocations: 0 / 0.7306 GB, free: 14.48 MB / 0.5606 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.0005975/0.2151, allocations: 278.2 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2152, allocations: 12.03 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.2152, allocations: 4.891 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2153, allocations: 110.5 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2154, allocations: 8.312 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.2154, allocations: 8.359 kB / 0.731 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.2156, allocations: 66.17 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2156, allocations: 192 / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.2156, allocations: 7.938 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2156, allocations: 0 / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.2159, allocations: 43.95 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.2163, allocations: 216.5 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.2167, allocations: 66.41 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.2168, allocations: 28.91 kB / 0.7314 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.217, allocations: 11.98 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.217, allocations: 34.55 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.217, allocations: 0 / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004271/0.2174, allocations: 93.58 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.2175, allocations: 51.41 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2176, allocations: 109.8 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2176, allocations: 25.7 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.2177, allocations: 92.09 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2177, allocations: 8.016 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.2177, allocations: 25.64 kB / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.2179, allocations: 310.8 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.218, allocations: 23.97 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.2181, allocations: 19.98 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.2183, allocations: 44.81 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.2183, allocations: 7.938 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002324/0.2185, allocations: 73.59 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2186, allocations: 8 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2186, allocations: 0 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2186, allocations: 0 / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.2187, allocations: 11.98 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2187, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.2187, allocations: 11.98 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.2187, allocations: 0 / 0.7323 GB, free: 12.52 MB / 0.5606 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.0001124/0.2188, allocations: 117.8 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.2189, allocations: 3.953 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.2192, allocations: 85.91 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2192, allocations: 3.938 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2192, allocations: 4 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2192, allocations: 4.031 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.2194, allocations: 117.2 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2194, allocations: 0 / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.2195, allocations: 11.98 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2195, allocations: 3.938 kB / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2195, allocations: 0 / 0.7327 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.2195, allocations: 3.984 kB / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2195, allocations: 0 / 0.7327 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.2198, allocations: 171.5 kB / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.2198, allocations: 7.953 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.2198, allocations: 0 / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.2199, allocations: 11.98 kB / 0.7329 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.22, allocations: 7.984 kB / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.22, allocations: 0 / 0.7329 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.482e-05/0.22, allocations: 87.22 kB / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.22, allocations: 0 / 0.7329 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002705/0.2203, allocations: 23.88 kB / 0.733 GB, free: 11.8 MB / 0.5606 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.0001986/0.2205, allocations: 107.2 kB / 0.7331 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.2208, allocations: 47.95 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2208, allocations: 0 / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2209, allocations: 27.97 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2212, allocations: 7.938 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.2216, allocations: 133.4 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.623e-05/0.2216, allocations: 63.34 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.2217, allocations: 4 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.2217, allocations: 11.44 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2217, allocations: 0 / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.004594/0.2263, allocations: 0.9965 MB / 0.7343 GB, free: 10.37 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.088648468255997] Failed to read output from testmodel.py, exit status != 0: 0.23655833676457405 0.25389020700000003 0.035914162 Calling exit ...