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.001308/0.001308, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001398/0.001398, allocations: 207.5 kB / 22.24 MB, free: 5.262 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.793 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.004084/0.004084, allocations: 282.2 kB / 312.7 MB, free: 2.598 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.266/1.266, allocations: 180.6 MB / 0.5369 GB, free: 14.64 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.003061/0.003061, allocations: 102.7 kB / 0.74 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1626, allocations: 95.38 MB / 0.8331 GB, free: 7.801 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002741/0.1653, allocations: 1.561 MB / 0.8347 GB, free: 6.23 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004823/0.1658, allocations: 177.9 kB / 0.8348 GB, free: 6.055 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.1659, allocations: 4 kB / 0.8348 GB, free: 6.051 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.1659, allocations: 3.938 kB / 0.8348 GB, free: 6.047 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.1659, allocations: 3.938 kB / 0.8348 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1663, allocations: 51.88 kB / 0.8349 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 7.646e-05/0.1663, allocations: 43.84 kB / 0.8349 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.866e-05/0.1664, allocations: 8 kB / 0.8349 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.1664, allocations: 15.97 kB / 0.835 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.291e-05/0.1665, allocations: 19.92 kB / 0.835 GB, free: 5.906 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1665, allocations: 4 kB / 0.835 GB, free: 5.902 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1666, allocations: 51.95 kB / 0.835 GB, free: 5.852 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.1666, allocations: 15.92 kB / 0.835 GB, free: 5.836 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.1667, allocations: 15.92 kB / 0.8351 GB, free: 5.82 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1668, allocations: 59.8 kB / 0.8351 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1668, allocations: 0 / 0.8351 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1668, allocations: 0 / 0.8351 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.1668, allocations: 0 / 0.8351 GB, free: 5.762 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.0004603/0.1673, allocations: 294.1 kB / 0.8354 GB, free: 5.441 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1673, allocations: 9.344 kB / 0.8354 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.1674, allocations: 4.938 kB / 0.8354 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1675, allocations: 106.5 kB / 0.8355 GB, free: 5.301 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.1675, allocations: 8.375 kB / 0.8355 GB, free: 5.293 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1675, allocations: 8.312 kB / 0.8355 GB, free: 5.285 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1677, allocations: 66.22 kB / 0.8356 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1677, allocations: 192 / 0.8356 GB, free: 5.215 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1677, allocations: 7.938 kB / 0.8356 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1677, allocations: 0 / 0.8356 GB, free: 5.207 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.1679, allocations: 39.95 kB / 0.8356 GB, free: 5.168 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.1683, allocations: 220.5 kB / 0.8358 GB, free: 4.922 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.1686, allocations: 70.41 kB / 0.8359 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1687, allocations: 24.91 kB / 0.8359 GB, free: 4.816 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.1688, allocations: 11.98 kB / 0.8359 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1688, allocations: 30.56 kB / 0.836 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1688, allocations: 0 / 0.836 GB, free: 4.766 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0003909/0.1692, allocations: 109.5 kB / 0.8361 GB, free: 4.652 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1693, allocations: 51.41 kB / 0.8361 GB, free: 4.59 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.1694, allocations: 105.8 kB / 0.8362 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1694, allocations: 25.7 kB / 0.8363 GB, free: 4.445 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.1694, allocations: 84.14 kB / 0.8363 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1694, allocations: 11.89 kB / 0.8363 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1695, allocations: 17.7 kB / 0.8364 GB, free: 4.324 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1696, allocations: 314.8 kB / 0.8367 GB, free: 4.008 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.1697, allocations: 19.98 kB / 0.8367 GB, free: 3.988 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.7e-05/0.1698, allocations: 20.16 kB / 0.8367 GB, free: 3.969 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.17, allocations: 52.89 kB / 0.8367 GB, free: 3.914 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.17, allocations: 7.875 kB / 0.8368 GB, free: 3.906 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002266/0.1702, allocations: 81.55 kB / 0.8368 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1702, allocations: 4 kB / 0.8368 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.1702, allocations: 0 / 0.8368 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1702, allocations: 0 / 0.8368 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.1703, allocations: 15.98 kB / 0.8369 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.1703, allocations: 0 / 0.8369 GB, free: 3.801 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.1704, allocations: 7.984 kB / 0.8369 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1704, allocations: 4 kB / 0.8369 GB, free: 3.789 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.84e-05/0.1705, allocations: 114.4 kB / 0.837 GB, free: 3.668 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1705, allocations: 4 kB / 0.837 GB, free: 3.664 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.1708, allocations: 81.27 kB / 0.8371 GB, free: 3.57 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1708, allocations: 0 / 0.8371 GB, free: 3.57 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1708, allocations: 8 kB / 0.8371 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1708, allocations: 0 / 0.8371 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1709, allocations: 109.2 kB / 0.8372 GB, free: 3.426 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1709, allocations: 4 kB / 0.8372 GB, free: 3.422 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.171, allocations: 7.984 kB / 0.8372 GB, free: 3.414 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.171, allocations: 4 kB / 0.8372 GB, free: 3.41 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.171, allocations: 4.25 kB / 0.8372 GB, free: 3.406 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.171, allocations: 0 / 0.8372 GB, free: 3.406 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.171, allocations: 4 kB / 0.8372 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1713, allocations: 179.4 kB / 0.8374 GB, free: 3.211 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.1713, allocations: 4 kB / 0.8374 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.1713, allocations: 0 / 0.8374 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.1714, allocations: 7.984 kB / 0.8374 GB, free: 3.199 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.1715, allocations: 11.92 kB / 0.8374 GB, free: 3.188 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1715, allocations: 4 kB / 0.8374 GB, free: 3.184 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.1715, allocations: 79.28 kB / 0.8375 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.1715, allocations: 0 / 0.8375 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002507/0.1718, allocations: 19.94 kB / 0.8375 GB, free: 3.086 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.0001693/0.172, allocations: 115.2 kB / 0.8376 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1722, allocations: 47.95 kB / 0.8376 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1722, allocations: 0 / 0.8376 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1723, allocations: 23.97 kB / 0.8377 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.1726, allocations: 15.81 kB / 0.8377 GB, free: 2.875 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.1729, allocations: 121.9 kB / 0.8378 GB, free: 2.73 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.1729, allocations: 71.25 kB / 0.8379 GB, free: 2.641 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.173, allocations: 3.984 kB / 0.8379 GB, free: 2.637 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.173, allocations: 11.44 kB / 0.8379 GB, free: 2.625 MB / 0.5763 GB Notification: Performance of SimCode: time 2.91e-07/0.173, allocations: 0 / 0.8379 GB, free: 2.625 MB / 0.5763 GB Notification: Performance of Templates: time 0.003679/0.1767, allocations: 1.007 MB / 0.8389 GB, free: 1.633 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: 6.2097583413124084] Failed to read output from testmodel.py, exit status != 0: 0.18361790478229523 0.19907872100000001 0.029234985 Calling exit ...