Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001365/0.001365, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001459/0.001459, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 18.57 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 0.9903/0.9903, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.863/1.863, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.7752 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.25e-05, allocations: 6.172 kB / 0.7752 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001798/0.001811, allocations: 1.592 MB / 0.7767 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.002169, allocations: 189.4 kB / 0.7769 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.0022, allocations: 0.6562 kB / 0.7769 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.002221, allocations: 3.938 kB / 0.7769 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.002259, allocations: 2.062 kB / 0.7769 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.002518, allocations: 52.58 kB / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.002579, allocations: 46.95 kB / 0.777 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.002638, allocations: 8 kB / 0.777 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.002673, allocations: 25.78 kB / 0.777 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.002705, allocations: 12.73 kB / 0.777 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.002717, allocations: 6.625 kB / 0.7771 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-05/0.002815, allocations: 52.81 kB / 0.7771 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.002829, allocations: 8.75 kB / 0.7771 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.002844, allocations: 9.641 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.00296, allocations: 70.67 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002962, allocations: 0 / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.002962, allocations: 0 / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.002965, allocations: 2.438 kB / 0.7772 GB, free: 3.355 MB / 0.7292 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.000269/0.003234, allocations: 250.1 kB / 0.7774 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.003265, allocations: 9.344 kB / 0.7774 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.003289, allocations: 8.938 kB / 0.7774 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.003367, allocations: 114.3 kB / 0.7776 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.003382, allocations: 4.375 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.003392, allocations: 5.531 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.196e-05/0.003484, allocations: 58.92 kB / 0.7776 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003491, allocations: 12.11 kB / 0.7776 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.003498, allocations: 6.094 kB / 0.7776 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.003503, allocations: 384 / 0.7776 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.003527, allocations: 11.94 kB / 0.7776 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.003734, allocations: 168.2 kB / 0.7778 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.003854, allocations: 31.38 kB / 0.7778 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.003869, allocations: 9.359 kB / 0.7778 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.003987, allocations: 28.72 kB / 0.7779 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.004004, allocations: 30.56 kB / 0.7779 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.004005, allocations: 2.656 kB / 0.7779 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 9.346e-05/0.004099, allocations: 49.56 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.004123, allocations: 51.41 kB / 0.778 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.007e-05/0.004173, allocations: 114.8 kB / 0.7781 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.004182, allocations: 25.7 kB / 0.7781 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.004213, allocations: 92.03 kB / 0.7782 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.004227, allocations: 14.67 kB / 0.7782 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.00425, allocations: 13.72 kB / 0.7783 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.004322, allocations: 310.8 kB / 0.7785 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.004333, allocations: 7.984 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.004342, allocations: 4 kB / 0.7786 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.004369, allocations: 20.84 kB / 0.7786 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004371, allocations: 0 / 0.7786 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.655e-05/0.004417, allocations: 44.03 kB / 0.7786 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.004427, allocations: 4 kB / 0.7786 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.004433, allocations: 7.938 kB / 0.7786 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.004442, allocations: 0 / 0.7786 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.881e-05/0.004481, allocations: 4 kB / 0.7786 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.004484, allocations: 0 / 0.7786 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.004505, allocations: 9.109 kB / 0.7786 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.00451, allocations: 0 / 0.7786 GB, free: 1.719 MB / 0.7292 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 5.087e-05/0.00456, allocations: 117.8 kB / 0.7788 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.004573, allocations: 0.8125 kB / 0.7788 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.646e-05/0.00465, allocations: 58.02 kB / 0.7788 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.004652, allocations: 384 / 0.7788 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.004656, allocations: 4.906 kB / 0.7788 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.004659, allocations: 0 / 0.7788 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.212e-05/0.004741, allocations: 70.67 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.004742, allocations: 0 / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.004765, allocations: 9.438 kB / 0.7789 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.004768, allocations: 3.984 kB / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.004773, allocations: 0 / 0.7789 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.004775, allocations: 3.984 kB / 0.7789 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.004777, allocations: 4.594 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.886e-05/0.004846, allocations: 139.5 kB / 0.779 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.004853, allocations: 9.422 kB / 0.779 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.004861, allocations: 3.938 kB / 0.7791 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.954e-05/0.00489, allocations: 4 kB / 0.7791 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.004924, allocations: 12.8 kB / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.004926, allocations: 0 / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.105e-05/0.004937, allocations: 8.859 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004937, allocations: 0.5 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001436/0.005081, allocations: 28.69 kB / 0.7791 GB, free: 1.203 MB / 0.7292 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.0001113/0.005192, allocations: 98.16 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.305e-05/0.005245, allocations: 16.84 kB / 0.7792 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.005247, allocations: 0 / 0.7792 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.005266, allocations: 16.8 kB / 0.7792 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.00537, allocations: 4.5 kB / 0.7792 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.005565, allocations: 129.6 kB / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.644e-05/0.005592, allocations: 51.89 kB / 0.7794 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.891e-05/0.00561, allocations: 8.875 kB / 0.7794 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.005652, allocations: 55.89 kB / 0.7795 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.005652, allocations: 0.6562 kB / 0.7795 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of Templates: time 0.002296/0.007948, allocations: 1.048 MB / 0.7805 GB, free: 15.78 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.871571701020002]