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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 113.4 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 190.7 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.11/1.11, allocations: 149.6 MB / 456.6 MB, free: 1.195 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.5 kB / 0.6329 GB, free: 8.988 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2029, allocations: 87.87 MB / 0.7187 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.00297/0.2058, allocations: 1.538 MB / 0.7202 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004942/0.2063, allocations: 183.3 kB / 0.7203 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.2064, allocations: 7.938 kB / 0.7204 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.2064, allocations: 0 / 0.7204 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.2064, allocations: 7.922 kB / 0.7204 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.2068, allocations: 51.88 kB / 0.7204 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.2069, allocations: 35.92 kB / 0.7204 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.207, allocations: 11.94 kB / 0.7205 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.207, allocations: 15.97 kB / 0.7205 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.2071, allocations: 23.92 kB / 0.7205 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.2071, allocations: 4 kB / 0.7205 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.2072, allocations: 51.94 kB / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.2072, allocations: 11.94 kB / 0.7206 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.2074, allocations: 15.92 kB / 0.7206 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.2075, allocations: 75.66 kB / 0.7206 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2075, allocations: 0 / 0.7206 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2075, allocations: 0 / 0.7206 GB, free: 15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2076, allocations: 0 / 0.7206 GB, free: 15 MB / 0.545 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.0005144/0.2081, allocations: 282.2 kB / 0.7209 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2081, allocations: 8.625 kB / 0.7209 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.2082, allocations: 4.938 kB / 0.7209 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.2083, allocations: 118.4 kB / 0.721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2083, allocations: 4.375 kB / 0.721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2084, allocations: 384 / 0.721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2086, allocations: 62.23 kB / 0.7211 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2087, allocations: 192 / 0.7211 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2087, allocations: 3.938 kB / 0.7211 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2087, allocations: 0 / 0.7211 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.2089, allocations: 47.89 kB / 0.7212 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.2093, allocations: 259.8 kB / 0.7214 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.2097, allocations: 54.48 kB / 0.7215 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.2098, allocations: 28.89 kB / 0.7215 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.2099, allocations: 23.97 kB / 0.7215 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2099, allocations: 30.56 kB / 0.7215 GB, free: 13.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2099, allocations: 0 / 0.7215 GB, free: 13.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004084/0.2104, allocations: 93.62 kB / 0.7216 GB, free: 13.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.2104, allocations: 51.41 kB / 0.7217 GB, free: 13.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2105, allocations: 109.8 kB / 0.7218 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2105, allocations: 29.7 kB / 0.7218 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.2106, allocations: 88.09 kB / 0.7219 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2106, allocations: 11.89 kB / 0.7219 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.2107, allocations: 21.64 kB / 0.7219 GB, free: 13.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2108, allocations: 318.8 kB / 0.7222 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2109, allocations: 23.92 kB / 0.7222 GB, free: 13.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.326e-05/0.211, allocations: 19.97 kB / 0.7223 GB, free: 13.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.2112, allocations: 48.81 kB / 0.7223 GB, free: 13.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2112, allocations: 4 kB / 0.7223 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002358/0.2115, allocations: 73.66 kB / 0.7224 GB, free: 13.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2115, allocations: 8 kB / 0.7224 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2115, allocations: 0 / 0.7224 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2115, allocations: 0 / 0.7224 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.2116, allocations: 19.92 kB / 0.7224 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2116, allocations: 0 / 0.7224 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.2117, allocations: 7.984 kB / 0.7224 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2117, allocations: 0 / 0.7224 GB, free: 13 MB / 0.545 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.0001355/0.2118, allocations: 117.8 kB / 0.7225 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.2119, allocations: 7.891 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.2122, allocations: 81.64 kB / 0.7226 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2122, allocations: 4 kB / 0.7226 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2122, allocations: 0 / 0.7226 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2122, allocations: 0 / 0.7226 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.2125, allocations: 140.7 kB / 0.7228 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2125, allocations: 0 / 0.7228 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.2126, allocations: 11.98 kB / 0.7228 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2126, allocations: 0 / 0.7228 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2126, allocations: 3.938 kB / 0.7228 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.2126, allocations: 4 kB / 0.7228 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2126, allocations: 0 / 0.7228 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.2129, allocations: 175.8 kB / 0.7229 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.2129, allocations: 7.953 kB / 0.723 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2129, allocations: 0 / 0.723 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.213, allocations: 7.984 kB / 0.723 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.2131, allocations: 8.031 kB / 0.723 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.2131, allocations: 3.984 kB / 0.723 GB, free: 12.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.825e-05/0.2132, allocations: 91.28 kB / 0.7231 GB, free: 12.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2132, allocations: 0 / 0.7231 GB, free: 12.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002807/0.2135, allocations: 19.98 kB / 0.7231 GB, free: 12.24 MB / 0.545 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.000283/0.2138, allocations: 115.2 kB / 0.7232 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.2141, allocations: 55.88 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2141, allocations: 0 / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.2142, allocations: 19.98 kB / 0.7233 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.2146, allocations: 12.48 kB / 0.7233 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000517/0.2151, allocations: 121.6 kB / 0.7234 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.2156, allocations: 0.6807 MB / 0.7241 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.488e-05/0.2157, allocations: 8 kB / 0.7241 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.2157, allocations: 15.44 kB / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2157, allocations: 0 / 0.7241 GB, free: 11.16 MB / 0.545 GB Notification: Performance of Templates: time 0.004647/0.2204, allocations: 0.9907 MB / 0.725 GB, free: 10.18 MB / 0.545 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.232345286756754] Failed to read output from testmodel.py, exit status != 0: 0.2310239626094699 0.245116142 0.034441817 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f42110a57b0>