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.001334/0.001334, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.00155/0.00155, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 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 1.453/1.453, allocations: 177.1 MB / 203.1 MB, free: 5.312 MB / 186.7 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.002765/0.002765, allocations: 250.8 kB / 259.8 MB, free: 12.67 MB / 250.7 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.068/1.068, allocations: 138.5 MB / 454.8 MB, free: 1.488 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.806e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.003117/0.003145, allocations: 1.555 MB / 0.5559 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005531/0.003698, allocations: 184.3 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.003743, allocations: 0 / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.003777, allocations: 3.938 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.003827, allocations: 3.938 kB / 0.5561 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.004225, allocations: 55.81 kB / 0.5561 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.404e-05/0.004309, allocations: 31.86 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.004417, allocations: 19.97 kB / 0.5562 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.004466, allocations: 15.98 kB / 0.5562 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.004521, allocations: 19.92 kB / 0.5562 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.00454, allocations: 4 kB / 0.5562 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.004683, allocations: 47.94 kB / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.004704, allocations: 15.97 kB / 0.5563 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.004731, allocations: 8 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.004927, allocations: 75.77 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004929, allocations: 0 / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00493, allocations: 0 / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.004934, allocations: 3.938 kB / 0.5563 GB, free: 14.79 MB / 490.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.0005452/0.005479, allocations: 274.2 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.005524, allocations: 12.75 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.896e-05/0.005583, allocations: 12.88 kB / 0.5566 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.005714, allocations: 109.8 kB / 0.5567 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.005744, allocations: 8.359 kB / 0.5567 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.005755, allocations: 4.312 kB / 0.5567 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.005989, allocations: 66.22 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005998, allocations: 192 / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.006009, allocations: 384 / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.006014, allocations: 384 / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.006247, allocations: 51.83 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.006671, allocations: 216.5 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.007029, allocations: 58.53 kB / 0.5571 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.007141, allocations: 24.91 kB / 0.5571 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.007324, allocations: 15.97 kB / 0.5572 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.007365, allocations: 42.44 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.007366, allocations: 0 / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004419/0.007808, allocations: 93.64 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.007857, allocations: 55.39 kB / 0.5573 GB, free: 13.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.007969, allocations: 105.8 kB / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.007993, allocations: 29.7 kB / 0.5575 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.008062, allocations: 84.12 kB / 0.5575 GB, free: 13.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.00808, allocations: 7.953 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.008125, allocations: 17.72 kB / 0.5576 GB, free: 13.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.008311, allocations: 310.8 kB / 0.5579 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.008419, allocations: 23.97 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.292e-05/0.008512, allocations: 23.92 kB / 0.5579 GB, free: 13.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.008703, allocations: 48.81 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008704, allocations: 0 / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002529/0.008957, allocations: 77.59 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.008972, allocations: 4 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008977, allocations: 0 / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.008997, allocations: 4.25 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.009084, allocations: 11.98 kB / 0.5581 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.009092, allocations: 11.94 kB / 0.5581 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.00916, allocations: 11.94 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.009167, allocations: 336 / 0.5581 GB, free: 12.84 MB / 490.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 0.0001032/0.00927, allocations: 113.8 kB / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.009303, allocations: 7.938 kB / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.009604, allocations: 85.31 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.009607, allocations: 4 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.009613, allocations: 3.984 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.009615, allocations: 0 / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.009781, allocations: 109.3 kB / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009783, allocations: 0 / 0.5584 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.009869, allocations: 11.98 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009871, allocations: 0 / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.009883, allocations: 3.938 kB / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.009884, allocations: 0 / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009885, allocations: 0 / 0.5584 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.01022, allocations: 179.5 kB / 0.5586 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-06/0.01023, allocations: 3.953 kB / 0.5586 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.01025, allocations: 7.922 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.01034, allocations: 4 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.0104, allocations: 11.98 kB / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.01041, allocations: 0 / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.848e-05/0.01046, allocations: 79.28 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01046, allocations: 0 / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.01073, allocations: 23.92 kB / 0.5587 GB, free: 12.14 MB / 490.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.0002055/0.01094, allocations: 123.3 kB / 0.5588 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.01119, allocations: 47.89 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01119, allocations: 0 / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.0113, allocations: 19.98 kB / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.01159, allocations: 19.86 kB / 0.5589 GB, free: 11.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.01195, allocations: 119.7 kB / 0.559 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.01202, allocations: 67.34 kB / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.981e-05/0.01205, allocations: 0 / 0.5591 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.01209, allocations: 16.5 kB / 0.5591 GB, free: 11.68 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01209, allocations: 0 / 0.5591 GB, free: 11.68 MB / 490.7 MB Notification: Performance of Templates: time 0.004054/0.01614, allocations: 1.017 MB / 0.5601 GB, free: 10.67 MB / 490.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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.54681896592956]