Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001289/0.001289, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001409/0.001409, allocations: 219.4 kB / 23 MB, free: 4.914 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.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002478/0.002478, allocations: 288.1 kB / 313.5 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 14.62 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002951/0.002951, allocations: 105.2 kB / 0.7407 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1673, allocations: 95.38 MB / 0.8339 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002711/0.17, allocations: 1.558 MB / 0.8354 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004757/0.1705, allocations: 170 kB / 0.8356 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.1705, allocations: 4 kB / 0.8356 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.1705, allocations: 7.922 kB / 0.8356 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.1706, allocations: 3.938 kB / 0.8356 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1709, allocations: 59.88 kB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.5e-05/0.171, allocations: 31.86 kB / 0.8357 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.1711, allocations: 15.97 kB / 0.8357 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.1711, allocations: 12 kB / 0.8357 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.1711, allocations: 15.92 kB / 0.8357 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1712, allocations: 4 kB / 0.8357 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1713, allocations: 51.94 kB / 0.8357 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1713, allocations: 15.92 kB / 0.8358 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.1713, allocations: 15.94 kB / 0.8358 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1715, allocations: 63.78 kB / 0.8358 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1715, allocations: 4 kB / 0.8358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1715, allocations: 0 / 0.8358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1715, allocations: 0 / 0.8358 GB, free: 5.797 MB / 0.5762 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.0004699/0.172, allocations: 286.1 kB / 0.8361 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.172, allocations: 13.34 kB / 0.8361 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.172, allocations: 8.906 kB / 0.8361 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1721, allocations: 118.4 kB / 0.8363 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1722, allocations: 12.36 kB / 0.8363 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1722, allocations: 4.375 kB / 0.8363 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.1724, allocations: 62.22 kB / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1724, allocations: 192 / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1724, allocations: 3.938 kB / 0.8363 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1724, allocations: 4 kB / 0.8363 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1726, allocations: 43.95 kB / 0.8364 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.1729, allocations: 212.5 kB / 0.8366 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1732, allocations: 66.53 kB / 0.8366 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.1733, allocations: 20.84 kB / 0.8367 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.1735, allocations: 15.97 kB / 0.8367 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1735, allocations: 34.56 kB / 0.8367 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1735, allocations: 0 / 0.8367 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003796/0.1739, allocations: 101.5 kB / 0.8368 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1739, allocations: 55.39 kB / 0.8369 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.174, allocations: 101.9 kB / 0.837 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.174, allocations: 25.7 kB / 0.837 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.1741, allocations: 92.12 kB / 0.8371 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.1741, allocations: 3.953 kB / 0.8371 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.1741, allocations: 17.72 kB / 0.8371 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1743, allocations: 310.8 kB / 0.8374 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.1744, allocations: 23.97 kB / 0.8374 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.1744, allocations: 27.92 kB / 0.8374 GB, free: 4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1746, allocations: 44.75 kB / 0.8375 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1746, allocations: 3.938 kB / 0.8375 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000213/0.1748, allocations: 77.61 kB / 0.8376 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1748, allocations: 4 kB / 0.8376 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1748, allocations: 0 / 0.8376 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1749, allocations: 4.25 kB / 0.8376 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.1749, allocations: 15.98 kB / 0.8376 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1749, allocations: 7.984 kB / 0.8376 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.175, allocations: 7.984 kB / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.175, allocations: 0 / 0.8376 GB, free: 3.828 MB / 0.5762 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 8.813e-05/0.1751, allocations: 118.4 kB / 0.8377 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1751, allocations: 336 / 0.8377 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.1754, allocations: 89.25 kB / 0.8378 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1754, allocations: 3.984 kB / 0.8378 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1754, allocations: 4 kB / 0.8378 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1754, allocations: 0 / 0.8378 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.1755, allocations: 117.2 kB / 0.8379 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1755, allocations: 0 / 0.8379 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.1756, allocations: 15.92 kB / 0.8379 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1756, allocations: 0 / 0.8379 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.1756, allocations: 0 / 0.8379 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1756, allocations: 0 / 0.8379 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1756, allocations: 0 / 0.8379 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1759, allocations: 179.3 kB / 0.8381 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.1759, allocations: 4 kB / 0.8381 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1759, allocations: 3.984 kB / 0.8381 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.176, allocations: 8 kB / 0.8381 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.176, allocations: 7.984 kB / 0.8381 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.176, allocations: 0 / 0.8381 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.794e-05/0.1761, allocations: 87.27 kB / 0.8382 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1761, allocations: 0 / 0.8382 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000237/0.1763, allocations: 19.94 kB / 0.8382 GB, free: 3.113 MB / 0.5762 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.0001753/0.1765, allocations: 119.2 kB / 0.8383 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.1767, allocations: 43.95 kB / 0.8384 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1767, allocations: 0 / 0.8384 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.665e-05/0.1768, allocations: 27.92 kB / 0.8384 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1771, allocations: 7.875 kB / 0.8384 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1774, allocations: 147.3 kB / 0.8386 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.442e-05/0.1775, allocations: 71.25 kB / 0.8386 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.1775, allocations: 7.438 kB / 0.8386 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1775, allocations: 0 / 0.8386 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of Templates: time 0.002463/0.1799, allocations: 0.9727 MB / 0.8396 GB, free: 1.664 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9275625119917095] Failed to read output from testmodel.py, exit status != 0: 0.18765611294656992 0.201834799 0.027565242 Calling exit ...