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.001276/0.001276, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001483/0.001483, allocations: 215.8 kB / 23.01 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.002498/0.002498, allocations: 277.5 kB / 313.5 MB, free: 2.871 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.169/1.169, allocations: 180.6 MB / 0.5377 GB, free: 13.14 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.002767/0.002767, allocations: 103.8 kB / 0.7408 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1644, allocations: 95.39 MB / 0.834 GB, free: 8.211 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002729/0.1671, allocations: 1.57 MB / 0.8355 GB, free: 6.629 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.1676, allocations: 189.9 kB / 0.8357 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.1676, allocations: 0 / 0.8357 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.1676, allocations: 4 kB / 0.8357 GB, free: 6.438 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.1677, allocations: 3.938 kB / 0.8357 GB, free: 6.434 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.168, allocations: 51.88 kB / 0.8357 GB, free: 6.383 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.968e-05/0.1681, allocations: 35.92 kB / 0.8358 GB, free: 6.348 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.1682, allocations: 15.97 kB / 0.8358 GB, free: 6.332 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.1682, allocations: 11.94 kB / 0.8358 GB, free: 6.32 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.1683, allocations: 19.92 kB / 0.8358 GB, free: 6.301 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1683, allocations: 4 kB / 0.8358 GB, free: 6.297 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1684, allocations: 55.92 kB / 0.8359 GB, free: 6.242 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1684, allocations: 8 kB / 0.8359 GB, free: 6.234 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.1684, allocations: 19.88 kB / 0.8359 GB, free: 6.215 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1686, allocations: 71.72 kB / 0.836 GB, free: 6.145 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1686, allocations: 0 / 0.836 GB, free: 6.145 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1686, allocations: 0 / 0.836 GB, free: 6.145 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1686, allocations: 0 / 0.836 GB, free: 6.145 MB / 0.5763 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.0004598/0.169, allocations: 294.1 kB / 0.8362 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1691, allocations: 13.34 kB / 0.8363 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.1691, allocations: 0.9375 kB / 0.8363 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1692, allocations: 110.5 kB / 0.8364 GB, free: 5.68 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1692, allocations: 4.375 kB / 0.8364 GB, free: 5.676 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1693, allocations: 8.375 kB / 0.8364 GB, free: 5.668 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1694, allocations: 70.14 kB / 0.8364 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1695, allocations: 192 / 0.8364 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1695, allocations: 3.938 kB / 0.8364 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1695, allocations: 7.938 kB / 0.8365 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.1697, allocations: 43.95 kB / 0.8365 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.17, allocations: 247.9 kB / 0.8367 GB, free: 5.254 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.1704, allocations: 62.47 kB / 0.8368 GB, free: 5.184 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/0.1704, allocations: 20.91 kB / 0.8368 GB, free: 5.16 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.1706, allocations: 15.98 kB / 0.8368 GB, free: 5.145 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1706, allocations: 34.56 kB / 0.8369 GB, free: 5.102 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1706, allocations: 0 / 0.8369 GB, free: 5.102 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0003765/0.171, allocations: 97.58 kB / 0.837 GB, free: 5 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.171, allocations: 55.41 kB / 0.837 GB, free: 4.934 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.377e-05/0.1711, allocations: 105.8 kB / 0.8371 GB, free: 4.82 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1711, allocations: 25.7 kB / 0.8371 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.1712, allocations: 88.14 kB / 0.8372 GB, free: 4.699 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.1712, allocations: 15.88 kB / 0.8372 GB, free: 4.684 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.1712, allocations: 17.72 kB / 0.8373 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1714, allocations: 314.8 kB / 0.8376 GB, free: 4.344 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-05/0.1715, allocations: 23.97 kB / 0.8376 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.1715, allocations: 16.17 kB / 0.8376 GB, free: 4.305 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.1717, allocations: 52.89 kB / 0.8376 GB, free: 4.25 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1717, allocations: 0 / 0.8376 GB, free: 4.25 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002013/0.1719, allocations: 81.61 kB / 0.8377 GB, free: 4.164 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1719, allocations: 6.188 kB / 0.8377 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1719, allocations: 0 / 0.8377 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1719, allocations: 0 / 0.8377 GB, free: 4.16 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.172, allocations: 15.92 kB / 0.8377 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.172, allocations: 0 / 0.8377 GB, free: 4.145 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.1721, allocations: 11.98 kB / 0.8377 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1721, allocations: 4 kB / 0.8378 GB, free: 4.129 MB / 0.5763 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.475e-05/0.1722, allocations: 114.4 kB / 0.8379 GB, free: 4.008 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1722, allocations: 4 kB / 0.8379 GB, free: 4.004 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.1724, allocations: 77.64 kB / 0.8379 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1724, allocations: 3.938 kB / 0.8379 GB, free: 3.91 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1724, allocations: 11.98 kB / 0.838 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1724, allocations: 3.938 kB / 0.838 GB, free: 3.895 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1726, allocations: 152.6 kB / 0.8381 GB, free: 3.703 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1726, allocations: 0 / 0.8381 GB, free: 3.703 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.168e-05/0.1727, allocations: 11.98 kB / 0.8381 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1727, allocations: 3.938 kB / 0.8381 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1727, allocations: 0 / 0.8381 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1727, allocations: 0 / 0.8381 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1727, allocations: 0 / 0.8381 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1729, allocations: 175.5 kB / 0.8383 GB, free: 3.5 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.173, allocations: 7.984 kB / 0.8383 GB, free: 3.492 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.173, allocations: 0 / 0.8383 GB, free: 3.492 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.1731, allocations: 4 kB / 0.8383 GB, free: 3.488 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.1731, allocations: 7.984 kB / 0.8383 GB, free: 3.48 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1731, allocations: 4 kB / 0.8383 GB, free: 3.477 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.1732, allocations: 87.58 kB / 0.8384 GB, free: 3.391 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1732, allocations: 4 kB / 0.8384 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002306/0.1734, allocations: 16 kB / 0.8384 GB, free: 3.371 MB / 0.5763 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.0001606/0.1735, allocations: 111.2 kB / 0.8385 GB, free: 3.254 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.1738, allocations: 47.89 kB / 0.8386 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1738, allocations: 0 / 0.8386 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.1739, allocations: 27.97 kB / 0.8386 GB, free: 3.18 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1741, allocations: 7.938 kB / 0.8386 GB, free: 3.172 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.1744, allocations: 147.6 kB / 0.8387 GB, free: 2.996 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.1747, allocations: 0.6807 MB / 0.8394 GB, free: 2.289 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.1748, allocations: 7.438 kB / 0.8394 GB, free: 2.281 MB / 0.5763 GB Notification: Performance of SimCode: time 3.1e-07/0.1748, allocations: 0 / 0.8394 GB, free: 2.281 MB / 0.5763 GB Notification: Performance of Templates: time 0.002643/0.1774, allocations: 0.9908 MB / 0.8404 GB, free: 1.293 MB / 0.5763 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.936699545010924] Failed to read output from testmodel.py, exit status != 0: 0.18438170896843076 0.19868823799999996 0.027290476999999938 Calling exit ...