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.0006787/0.0006787, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000956/0.001635, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007091/0.0007091, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009761/0.001685, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9494/0.9494, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1231/1.073, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001249/0.001249, allocations: 226.5 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.002345, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6818/0.6818, allocations: 138.7 MB / 384.3 MB, free: 360 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07869/0.7605, allocations: 42.4 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.014e-05, allocations: 2.312 kB / 428.1 MB, free: 4.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002741/0.002761, allocations: 1.66 MB / 429.7 MB, free: 2.789 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.003109, allocations: 176.2 kB / 429.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.00314, allocations: 0 / 429.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.003168, allocations: 7.922 kB / 429.9 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.86e-05/0.003196, allocations: 3.938 kB / 429.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.00343, allocations: 51.75 kB / 430 MB, free: 2.551 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.00351, allocations: 39.91 kB / 430 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.362e-05/0.003593, allocations: 11.94 kB / 430 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.213e-05/0.003656, allocations: 19.97 kB / 430 MB, free: 2.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.003703, allocations: 19.97 kB / 430.1 MB, free: 2.461 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.003718, allocations: 4 kB / 430.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.00387, allocations: 55.94 kB / 430.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.003886, allocations: 7.938 kB / 430.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.003905, allocations: 12 kB / 430.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004047, allocations: 47.83 kB / 430.2 MB, free: 2.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.004059, allocations: 0 / 430.2 MB, free: 2.336 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.00406, allocations: 4 kB / 430.2 MB, free: 2.332 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.004071, allocations: 0 / 430.2 MB, free: 2.332 MB / 410.7 MB 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.00041/0.004481, allocations: 264.4 kB / 430.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.004518, allocations: 15.98 kB / 430.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.004552, allocations: 8.922 kB / 430.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.248e-05/0.004645, allocations: 113.7 kB / 430.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.004668, allocations: 8.375 kB / 430.6 MB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.004681, allocations: 384 / 430.6 MB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.004822, allocations: 66.92 kB / 430.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.00483, allocations: 192 / 430.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.004837, allocations: 384 / 430.7 MB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004843, allocations: 4.375 kB / 430.7 MB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.004877, allocations: 11.92 kB / 430.7 MB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.005151, allocations: 172.2 kB / 430.8 MB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.005328, allocations: 34.56 kB / 430.9 MB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.005349, allocations: 12.84 kB / 430.9 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.005507, allocations: 27.97 kB / 430.9 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.00553, allocations: 30.56 kB / 430.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.005531, allocations: 0 / 430.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001405/0.005672, allocations: 53.69 kB / 431 MB, free: 1.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.005698, allocations: 51.41 kB / 431 MB, free: 1.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.005764, allocations: 114.7 kB / 431.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.005778, allocations: 25.7 kB / 431.2 MB, free: 1.203 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.005815, allocations: 88.09 kB / 431.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.00583, allocations: 7.953 kB / 431.3 MB, free: 1.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.005865, allocations: 17.7 kB / 431.3 MB, free: 1.082 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.005959, allocations: 318.8 kB / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.005976, allocations: 4 kB / 431.6 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.005988, allocations: 4 kB / 431.6 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.006028, allocations: 16.78 kB / 431.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.00603, allocations: 0 / 431.6 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.721e-05/0.006097, allocations: 45.62 kB / 431.7 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.00611, allocations: 4 kB / 431.7 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006116, allocations: 7.938 kB / 431.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006128, allocations: 0 / 431.7 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.006197, allocations: 11.98 kB / 431.7 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.0062, allocations: 0 / 431.7 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.006227, allocations: 4 kB / 431.7 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.006232, allocations: 0 / 431.7 MB, free: 0.6562 MB / 410.7 MB 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.977e-05/0.006291, allocations: 109.8 kB / 431.8 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.006314, allocations: 3.984 kB / 431.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.379e-05/0.006408, allocations: 53.25 kB / 431.9 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.00641, allocations: 4 kB / 431.9 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006411, allocations: 4 kB / 431.9 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006413, allocations: 0 / 431.9 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.00653, allocations: 69.88 kB / 431.9 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.006531, allocations: 4 kB / 431.9 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.006584, allocations: 7.984 kB / 432 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.006594, allocations: 7.953 kB / 432 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006595, allocations: 0 / 432 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.006602, allocations: 4 kB / 432 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.006605, allocations: 3.938 kB / 432 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006606, allocations: 256 / 432 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.006705, allocations: 139.5 kB / 432.1 MB, free: 208 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.006718, allocations: 7.984 kB / 432.1 MB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.006779, allocations: 4 kB / 432.1 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.00682, allocations: 15.92 kB / 432.1 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.006825, allocations: 0 / 432.1 MB, free: 180 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.513e-05/0.00684, allocations: 12.84 kB / 432.1 MB, free: 164 kB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00684, allocations: 0 / 432.1 MB, free: 164 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.007065, allocations: 15.94 kB / 432.2 MB, free: 148 kB / 410.7 MB 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.0001487/0.007213, allocations: 104.3 kB / 432.3 MB, free: 36 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.473e-05/0.007288, allocations: 25.12 kB / 432.3 MB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.007292, allocations: 0 / 432.3 MB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1685/0.1758, allocations: 11.98 kB / 432.3 MB, free: 2.754 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.176, allocations: 33.11 kB / 432.3 MB, free: 2.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.1765, allocations: 127.5 kB / 432.5 MB, free: 2.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.613e-05/0.1765, allocations: 56.72 kB / 432.5 MB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.633e-05/0.1765, allocations: 5.781 kB / 432.5 MB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.1766, allocations: 54.5 kB / 432.6 MB, free: 2.512 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1766, allocations: 0.8438 kB / 432.6 MB, free: 2.512 MB / 410.7 MB Notification: Performance of Templates: time 0.002827/0.1794, allocations: 1.103 MB / 433.7 MB, free: 2.48 MB / 410.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.345564018934965]