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.0007223/0.0007223, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.001898, allocations: 449.8 kB / 10.44 MB, free: 252 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.001014/0.001014, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001421/0.002435, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08931/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.924/1.924, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4955/2.42, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 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.643e-06/1.643e-06, allocations: 0 / 0.7448 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.489e-05, allocations: 2.859 kB / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002943/0.002968, allocations: 1.654 MB / 0.7464 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003392/0.003307, allocations: 180.3 kB / 0.7466 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.003342, allocations: 0.5469 kB / 0.7466 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.00337, allocations: 6.312 kB / 0.7466 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.053e-05/0.0034, allocations: 1.312 kB / 0.7466 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.003644, allocations: 48.47 kB / 0.7467 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.003739, allocations: 42.33 kB / 0.7467 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.003823, allocations: 11.98 kB / 0.7467 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.781e-05/0.003891, allocations: 26.27 kB / 0.7467 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.003945, allocations: 22.66 kB / 0.7468 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.003963, allocations: 0 / 0.7468 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.004123, allocations: 60.59 kB / 0.7468 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.004144, allocations: 5.422 kB / 0.7468 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.004165, allocations: 9.75 kB / 0.7468 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.004321, allocations: 49.56 kB / 0.7469 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-05/0.004338, allocations: 4.656 kB / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.312e-06/0.00434, allocations: 0 / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.004354, allocations: 0 / 0.7469 GB, free: 1.137 MB / 0.7136 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.0004332/0.004787, allocations: 261.5 kB / 0.7471 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.004823, allocations: 12.03 kB / 0.7471 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.004862, allocations: 8.922 kB / 0.7472 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.004958, allocations: 111.5 kB / 0.7473 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.004981, allocations: 4.375 kB / 0.7473 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.004993, allocations: 1.562 kB / 0.7473 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.005131, allocations: 62.94 kB / 0.7473 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005138, allocations: 192 / 0.7473 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.005146, allocations: 5.594 kB / 0.7473 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005152, allocations: 384 / 0.7473 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.005189, allocations: 19.91 kB / 0.7474 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.005462, allocations: 165.7 kB / 0.7475 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.00564, allocations: 38.61 kB / 0.7475 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.005661, allocations: 9.641 kB / 0.7476 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.005824, allocations: 24.47 kB / 0.7476 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.005846, allocations: 34.22 kB / 0.7476 GB, free: 316 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.005847, allocations: 0 / 0.7476 GB, free: 316 kB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001439/0.005991, allocations: 54.44 kB / 0.7477 GB, free: 256 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.006019, allocations: 51.41 kB / 0.7477 GB, free: 192 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.006082, allocations: 110.7 kB / 0.7478 GB, free: 68 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.006094, allocations: 25.7 kB / 0.7478 GB, free: 36 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.00615, allocations: 88.64 kB / 0.7479 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.006167, allocations: 3.953 kB / 0.7479 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.006205, allocations: 25.69 kB / 0.748 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.00629, allocations: 314.9 kB / 0.7483 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.006304, allocations: 4 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.006316, allocations: 4 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.006352, allocations: 17.11 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.006355, allocations: 4 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.873e-05/0.006423, allocations: 41.62 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006436, allocations: 4 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.006443, allocations: 3.938 kB / 0.7483 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.006456, allocations: 7.875 kB / 0.7483 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.006525, allocations: 7.984 kB / 0.7483 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006528, allocations: 0 / 0.7483 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/0.006554, allocations: 4.25 kB / 0.7484 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.00656, allocations: 4 kB / 0.7484 GB, free: 15.49 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 6.338e-05/0.006623, allocations: 113.8 kB / 0.7485 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.006647, allocations: 4.766 kB / 0.7485 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.441e-05/0.006741, allocations: 53.06 kB / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.006745, allocations: 4 kB / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.006747, allocations: 0 / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.00675, allocations: 0 / 0.7485 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.00687, allocations: 73.88 kB / 0.7486 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.006871, allocations: 0 / 0.7486 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.006916, allocations: 12.75 kB / 0.7486 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-06/0.006923, allocations: 4 kB / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.006925, allocations: 0 / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.00693, allocations: 0 / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006932, allocations: 3.938 kB / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.006934, allocations: 3.719 kB / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.987e-05/0.007024, allocations: 135.5 kB / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.007033, allocations: 0.7656 kB / 0.7487 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.007085, allocations: 7.938 kB / 0.7488 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.007128, allocations: 15.92 kB / 0.7488 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.007131, allocations: 0 / 0.7488 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.507e-05/0.007146, allocations: 8.859 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.007146, allocations: 0 / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002386/0.007385, allocations: 20.88 kB / 0.7488 GB, free: 15 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.0001748/0.00756, allocations: 107.1 kB / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.198e-05/0.007632, allocations: 17.52 kB / 0.7489 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.007636, allocations: 1.094 kB / 0.7489 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.865e-05/0.007665, allocations: 16.84 kB / 0.7489 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.007869, allocations: 30.33 kB / 0.749 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.008299, allocations: 134.1 kB / 0.7491 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.664e-05/0.008335, allocations: 51.36 kB / 0.7491 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.008368, allocations: 9.141 kB / 0.7491 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.008431, allocations: 60.31 kB / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/0.008432, allocations: 0 / 0.7492 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.003441/0.01187, allocations: 1.114 MB / 0.7503 GB, free: 13.46 MB / 0.7292 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.785938385874033]