Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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: 92.22 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.001505/0.001505, allocations: 173 kB / 23.02 MB, free: 1.547 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.9413/0.9413, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001631/0.001631, allocations: 238.3 kB / 260.2 MB, free: 12.81 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.7214/0.7214, allocations: 138.4 MB / 455.2 MB, free: 1.484 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 3.984 kB / 0.5552 GB, free: 420 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.797e-05, allocations: 2.312 kB / 0.5552 GB, free: 416 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001676/0.001704, allocations: 0.6001 MB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.002065, allocations: 107.5 kB / 0.5559 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.002087, allocations: 4 kB / 0.5559 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.368e-05/0.002131, allocations: 0 / 0.5559 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.702e-06/0.002137, allocations: 0 / 0.5559 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.002494, allocations: 47.81 kB / 0.5559 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.002625, allocations: 63.92 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.002658, allocations: 0 / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.561e-05/0.002714, allocations: 39.89 kB / 0.556 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.002756, allocations: 23.95 kB / 0.556 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.002776, allocations: 4 kB / 0.556 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.002915, allocations: 47.94 kB / 0.5561 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.002951, allocations: 23.97 kB / 0.5561 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.00298, allocations: 15.98 kB / 0.5561 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.003137, allocations: 87.73 kB / 0.5562 GB, free: 15.35 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003139, allocations: 0 / 0.5562 GB, free: 15.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.00314, allocations: 4 kB / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.003144, allocations: 0 / 0.5562 GB, free: 15.34 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004902/0.003634, allocations: 404.5 kB / 0.5566 GB, free: 14.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.003675, allocations: 8.75 kB / 0.5566 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.003735, allocations: 16.94 kB / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.767e-05/0.003803, allocations: 108.6 kB / 0.5567 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003044/0.004107, allocations: 0.526 MB / 0.5572 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.004124, allocations: 12.38 kB / 0.5572 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.004346, allocations: 86.84 kB / 0.5573 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.004355, allocations: 192 / 0.5573 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.004367, allocations: 4.375 kB / 0.5573 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.004378, allocations: 8.125 kB / 0.5573 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.00454, allocations: 103.8 kB / 0.5574 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.004689, allocations: 124.6 kB / 0.5576 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.004824, allocations: 75.03 kB / 0.5576 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.004877, allocations: 27.67 kB / 0.5577 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.004899, allocations: 8 kB / 0.5577 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.004923, allocations: 33.39 kB / 0.5577 GB, free: 13.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.004924, allocations: 0 / 0.5577 GB, free: 13.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002676/0.005192, allocations: 114.1 kB / 0.5578 GB, free: 13.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.005226, allocations: 51.41 kB / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.005278, allocations: 150.2 kB / 0.558 GB, free: 13.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.005293, allocations: 25.7 kB / 0.558 GB, free: 13.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.005327, allocations: 130.9 kB / 0.5581 GB, free: 13.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.005378, allocations: 39.67 kB / 0.5582 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.005427, allocations: 35.36 kB / 0.5582 GB, free: 12.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.00556, allocations: 0.4962 MB / 0.5587 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.005602, allocations: 8 kB / 0.5587 GB, free: 12.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.005643, allocations: 24.03 kB / 0.5587 GB, free: 12.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.781e-05/0.005741, allocations: 43.61 kB / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.005743, allocations: 3.938 kB / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001606/0.005904, allocations: 93.61 kB / 0.5589 GB, free: 12.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.005922, allocations: 6.969 kB / 0.5589 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.005927, allocations: 0 / 0.5589 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.005941, allocations: 0 / 0.5589 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.006087, allocations: 23.98 kB / 0.5589 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.006096, allocations: 7.938 kB / 0.5589 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.006143, allocations: 11.92 kB / 0.5589 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.006157, allocations: 7.984 kB / 0.5589 GB, free: 12.23 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.609e-05/0.006243, allocations: 160.5 kB / 0.5591 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.006267, allocations: 8 kB / 0.5591 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.006295, allocations: 7.969 kB / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.006299, allocations: 4 kB / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.006305, allocations: 3.984 kB / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.006309, allocations: 7.875 kB / 0.5591 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.006414, allocations: 128.6 kB / 0.5592 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.006416, allocations: 0 / 0.5592 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.00651, allocations: 27.97 kB / 0.5593 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.006513, allocations: 0 / 0.5593 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.006526, allocations: 8 kB / 0.5593 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.006527, allocations: 0 / 0.5593 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.006529, allocations: 0 / 0.5593 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.00672, allocations: 132.3 kB / 0.5594 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.006729, allocations: 3.953 kB / 0.5594 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.006747, allocations: 7.984 kB / 0.5594 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.006794, allocations: 8 kB / 0.5594 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.006847, allocations: 11.98 kB / 0.5594 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.006857, allocations: 7.922 kB / 0.5594 GB, free: 11.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.289e-05/0.00689, allocations: 123.1 kB / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00689, allocations: 0 / 0.5595 GB, free: 11.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.007133, allocations: 27.94 kB / 0.5596 GB, free: 11.5 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001774/0.007311, allocations: 119.2 kB / 0.5597 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.00748, allocations: 67.58 kB / 0.5597 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.007482, allocations: 0 / 0.5597 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.738e-05/0.00755, allocations: 48.27 kB / 0.5598 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.0077, allocations: 14.73 kB / 0.5598 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.008022, allocations: 156.9 kB / 0.56 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.008066, allocations: 63.34 kB / 0.56 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001/0.008166, allocations: 35.94 kB / 0.5601 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.00821, allocations: 16.48 kB / 0.5601 GB, free: 10.93 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.008211, allocations: 0 / 0.5601 GB, free: 10.93 MB / 490.7 MB Notification: Performance of Templates: time 0.003944/0.01215, allocations: 1.223 MB / 0.5613 GB, free: 9.723 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5134550649672747]