Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001378/0.001378, allocations: 114.8 kB / 19.7 MB, free: 2.203 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.002083/0.002083, allocations: 193.6 kB / 22.98 MB, free: 5.082 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.465/1.465, allocations: 225.6 MB / 251.8 MB, free: 13.04 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.008/1.008, 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 62.94 kB / 0.6329 GB, free: 8.992 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2111, allocations: 87.88 MB / 0.7187 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001971/0.2131, allocations: 0.5939 MB / 0.7193 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000441/0.2135, allocations: 112.1 kB / 0.7194 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.2135, allocations: 4 kB / 0.7194 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.2136, allocations: 0 / 0.7194 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.2136, allocations: 0 / 0.7194 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.2139, allocations: 39.89 kB / 0.7194 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.2141, allocations: 67.92 kB / 0.7195 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.2141, allocations: 0 / 0.7195 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.2142, allocations: 19.98 kB / 0.7195 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.2142, allocations: 31.95 kB / 0.7195 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2143, allocations: 0 / 0.7195 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2144, allocations: 51.95 kB / 0.7196 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.2145, allocations: 27.89 kB / 0.7196 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.2145, allocations: 27.92 kB / 0.7196 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.2148, allocations: 63.89 kB / 0.7197 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2148, allocations: 0 / 0.7197 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2148, allocations: 0 / 0.7197 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.2148, allocations: 0 / 0.7197 GB, free: 15.99 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005973/0.2154, allocations: 298.2 kB / 0.72 GB, free: 15.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2154, allocations: 8.625 kB / 0.72 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.2155, allocations: 12.89 kB / 0.72 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2156, allocations: 110.5 kB / 0.7201 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/0.216, allocations: 281.6 kB / 0.7204 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.216, allocations: 4.375 kB / 0.7204 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.2163, allocations: 82.12 kB / 0.7205 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2163, allocations: 3.938 kB / 0.7205 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2163, allocations: 8 kB / 0.7205 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2163, allocations: 0 / 0.7205 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.2167, allocations: 131.8 kB / 0.7206 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.2169, allocations: 148.7 kB / 0.7207 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.2172, allocations: 98.45 kB / 0.7208 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.2174, allocations: 40.83 kB / 0.7209 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.2174, allocations: 4 kB / 0.7209 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.2175, allocations: 34.5 kB / 0.7209 GB, free: 14.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2175, allocations: 0 / 0.7209 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005689/0.218, allocations: 158 kB / 0.7211 GB, free: 14.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.2181, allocations: 55.34 kB / 0.7211 GB, free: 14.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.362e-05/0.2181, allocations: 93.86 kB / 0.7212 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.2182, allocations: 29.7 kB / 0.7212 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.2182, allocations: 84.14 kB / 0.7213 GB, free: 14.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.2183, allocations: 35.69 kB / 0.7214 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.2183, allocations: 29.7 kB / 0.7214 GB, free: 14.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2185, allocations: 310.8 kB / 0.7217 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.2186, allocations: 35.97 kB / 0.7217 GB, free: 13.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2188, allocations: 31.97 kB / 0.7217 GB, free: 13.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.2191, allocations: 80.75 kB / 0.7218 GB, free: 13.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2191, allocations: 0 / 0.7218 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003502/0.2194, allocations: 109.6 kB / 0.7219 GB, free: 13.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2194, allocations: 11.88 kB / 0.7219 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2194, allocations: 0 / 0.7219 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2195, allocations: 0 / 0.7219 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2196, allocations: 27.97 kB / 0.722 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2196, allocations: 0 / 0.722 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.2197, allocations: 7.953 kB / 0.722 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/0.2198, allocations: 15.98 kB / 0.722 GB, free: 13.41 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001065/0.2199, allocations: 113.8 kB / 0.7221 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.2199, allocations: 3.938 kB / 0.7221 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.2199, allocations: 11.91 kB / 0.7221 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2199, allocations: 7.938 kB / 0.7221 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.22, allocations: 0 / 0.7221 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.22, allocations: 3.984 kB / 0.7221 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2201, allocations: 156.6 kB / 0.7223 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2201, allocations: 0 / 0.7223 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.2202, allocations: 27.92 kB / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2203, allocations: 3.938 kB / 0.7223 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.2203, allocations: 7.984 kB / 0.7223 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2203, allocations: 0 / 0.7223 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2203, allocations: 0 / 0.7223 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.2207, allocations: 133.1 kB / 0.7224 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.2207, allocations: 7.953 kB / 0.7224 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.2208, allocations: 15.91 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.2208, allocations: 8 kB / 0.7225 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.2209, allocations: 11.92 kB / 0.7225 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2209, allocations: 7.984 kB / 0.7225 GB, free: 12.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.2209, allocations: 83.22 kB / 0.7226 GB, free: 12.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2209, allocations: 3.938 kB / 0.7226 GB, free: 12.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002233/0.2211, allocations: 16 kB / 0.7226 GB, free: 12.73 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002127/0.2214, allocations: 115.2 kB / 0.7227 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.2217, allocations: 83.94 kB / 0.7228 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2217, allocations: 0 / 0.7228 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.2219, allocations: 48.67 kB / 0.7228 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.222, allocations: 7.984 kB / 0.7228 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.2225, allocations: 161.1 kB / 0.723 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.2228, allocations: 0.6846 MB / 0.7236 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.223, allocations: 39.95 kB / 0.7237 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.223, allocations: 15.42 kB / 0.7237 GB, free: 11.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.223, allocations: 4 kB / 0.7237 GB, free: 11.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003753/0.2268, allocations: 1.072 MB / 0.7247 GB, free: 10.45 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0652855867519975] Failed to read output from testmodel.py, exit status != 0: 0.2354728439822793 0.262902435 0.044172374 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f49c45a97b0>