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.0008483/0.0008483, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009208/0.0009208, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9171/0.9171, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.005131/0.005131, allocations: 230.8 kB / 260.2 MB, free: 12.84 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 0.766/0.766, allocations: 138.4 MB / 455.2 MB, free: 1.551 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.603e-06/1.603e-06, allocations: 0 / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.644e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002446/0.002472, allocations: 1.59 MB / 0.5567 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.002877, allocations: 188.2 kB / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.002913, allocations: 0 / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.002945, allocations: 3.938 kB / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.002991, allocations: 7.984 kB / 0.5569 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.003325, allocations: 47.81 kB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.635e-05/0.003401, allocations: 47.84 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.003483, allocations: 7.984 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.881e-05/0.003522, allocations: 19.98 kB / 0.557 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.00356, allocations: 15.97 kB / 0.557 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.003576, allocations: 4 kB / 0.557 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.003696, allocations: 47.94 kB / 0.5571 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.003711, allocations: 11.94 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.003736, allocations: 7.984 kB / 0.5571 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.003886, allocations: 71.73 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003888, allocations: 0 / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003889, allocations: 4 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.003893, allocations: 0 / 0.5571 GB, free: 14.44 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.0003837/0.004277, allocations: 376.5 kB / 0.5575 GB, free: 14.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.004314, allocations: 8.75 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.004356, allocations: 8.891 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/0.004449, allocations: 124.5 kB / 0.5576 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.004469, allocations: 384 / 0.5576 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.00448, allocations: 4.375 kB / 0.5576 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.004628, allocations: 70.86 kB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004635, allocations: 192 / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.004645, allocations: 4.375 kB / 0.5577 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.004652, allocations: 384 / 0.5577 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.004702, allocations: 15.94 kB / 0.5577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.005055, allocations: 267.7 kB / 0.558 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.00525, allocations: 46.98 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.005282, allocations: 27.67 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.005414, allocations: 11.98 kB / 0.5581 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.005439, allocations: 41.33 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.00544, allocations: 0 / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001802/0.00562, allocations: 53.81 kB / 0.5582 GB, free: 13.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.005651, allocations: 51.41 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.005733, allocations: 165.9 kB / 0.5584 GB, free: 13.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.005745, allocations: 25.7 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.005798, allocations: 138.8 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.005814, allocations: 3.953 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.005852, allocations: 27.36 kB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.005973, allocations: 492.1 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.005994, allocations: 4 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.006012, allocations: 11.97 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.006055, allocations: 23.69 kB / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006057, allocations: 0 / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.44e-05/0.006142, allocations: 53.56 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.006157, allocations: 4 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006161, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.006173, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.006226, allocations: 11.98 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.006231, allocations: 0 / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.627e-05/0.006258, allocations: 4 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.006263, allocations: 0 / 0.5591 GB, free: 12.19 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 7.655e-05/0.00634, allocations: 160.6 kB / 0.5593 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.006365, allocations: 11.89 kB / 0.5593 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.006482, allocations: 57.3 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006485, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.006489, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.006493, allocations: 256 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.006639, allocations: 128.6 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.006642, allocations: 4 kB / 0.5595 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.006686, allocations: 7.984 kB / 0.5595 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.006689, allocations: 4 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.006699, allocations: 7.938 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.0067, allocations: 0 / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.006702, allocations: 0 / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.006835, allocations: 191.9 kB / 0.5597 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.006847, allocations: 11.89 kB / 0.5597 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.006861, allocations: 3.938 kB / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.006913, allocations: 7.984 kB / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.006969, allocations: 7.922 kB / 0.5597 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.006976, allocations: 4 kB / 0.5597 GB, free: 11.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.007019, allocations: 127.2 kB / 0.5598 GB, free: 11.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007019, allocations: 4 kB / 0.5598 GB, free: 11.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.007271, allocations: 12 kB / 0.5598 GB, free: 11.38 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.0004255/0.007696, allocations: 119.2 kB / 0.56 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.007799, allocations: 19.91 kB / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0078, allocations: 4 kB / 0.56 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.007828, allocations: 11.78 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.008071, allocations: 11.98 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.008361, allocations: 137.3 kB / 0.5601 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.96e-05/0.008401, allocations: 59.34 kB / 0.5602 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.308e-05/0.008424, allocations: 4 kB / 0.5602 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.008453, allocations: 12.5 kB / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of SimCode: time 9.61e-07/0.008454, allocations: 0 / 0.5602 GB, free: 10.95 MB / 490.7 MB Notification: Performance of Templates: time 0.003187/0.01164, allocations: 1.101 MB / 0.5613 GB, free: 9.859 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.616505865007639]