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.001906/0.001906, allocations: 89.48 kB / 19.44 MB, free: 336 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.002062/0.002062, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.629 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.003284/0.003284, allocations: 234.6 kB / 259.8 MB, free: 12.87 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.154/1.154, allocations: 138.4 MB / 454.7 MB, free: 1.504 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 1.293e-06/1.293e-06, allocations: 0 / 0.5544 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.759e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001698/0.001726, allocations: 0.5809 MB / 0.555 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.002125, allocations: 103.6 kB / 0.5551 GB, free: 112 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.002146, allocations: 0 / 0.5551 GB, free: 112 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 4.664e-05/0.002192, allocations: 0 / 0.5551 GB, free: 112 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.002199, allocations: 0 / 0.5551 GB, free: 112 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.002588, allocations: 43.88 kB / 0.5551 GB, free: 68 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.002721, allocations: 63.92 kB / 0.5552 GB, free: 4 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.199e-05/0.002753, allocations: 0 / 0.5552 GB, free: 4 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.003117, allocations: 43.89 kB / 0.5552 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.003172, allocations: 23.95 kB / 0.5552 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.003195, allocations: 4 kB / 0.5552 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.003358, allocations: 55.81 kB / 0.5553 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.0034, allocations: 15.98 kB / 0.5553 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.003441, allocations: 19.97 kB / 0.5553 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.003628, allocations: 87.73 kB / 0.5554 GB, free: 15.76 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.003634, allocations: 4 kB / 0.5554 GB, free: 15.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003634, allocations: 0 / 0.5554 GB, free: 15.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003638, allocations: 0 / 0.5554 GB, free: 15.75 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.0005963/0.004235, allocations: 404.2 kB / 0.5558 GB, free: 15.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.004273, allocations: 8.75 kB / 0.5558 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.004356, allocations: 20.94 kB / 0.5558 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.004464, allocations: 112.5 kB / 0.5559 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/0.004945, allocations: 0.5299 MB / 0.5564 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.004961, allocations: 4.375 kB / 0.5564 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.005205, allocations: 78.12 kB / 0.5565 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.005215, allocations: 192 / 0.5565 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.005229, allocations: 4.375 kB / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.005238, allocations: 8.125 kB / 0.5565 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.005626, allocations: 123.8 kB / 0.5567 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.005819, allocations: 124.6 kB / 0.5568 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.006132, allocations: 94.95 kB / 0.5569 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.006291, allocations: 43.66 kB / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.006318, allocations: 0 / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.006356, allocations: 37.39 kB / 0.5569 GB, free: 13.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 7.41e-07/0.006357, allocations: 0 / 0.5569 GB, free: 13.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005471/0.006904, allocations: 137.8 kB / 0.5571 GB, free: 13.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.006948, allocations: 55.34 kB / 0.5571 GB, free: 13.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.007037, allocations: 146.2 kB / 0.5573 GB, free: 13.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.007066, allocations: 37.7 kB / 0.5573 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.007267, allocations: 126.9 kB / 0.5574 GB, free: 13.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.007326, allocations: 35.69 kB / 0.5575 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.007387, allocations: 35.36 kB / 0.5575 GB, free: 13.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.007631, allocations: 496.1 kB / 0.558 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.007768, allocations: 27.97 kB / 0.558 GB, free: 12.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.007888, allocations: 23.98 kB / 0.558 GB, free: 12.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.008146, allocations: 67.59 kB / 0.5581 GB, free: 12.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.008147, allocations: 0 / 0.5581 GB, free: 12.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003477/0.008495, allocations: 105.5 kB / 0.5582 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.008511, allocations: 11.98 kB / 0.5582 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.008518, allocations: 3.984 kB / 0.5582 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.008532, allocations: 0 / 0.5582 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.008677, allocations: 23.98 kB / 0.5582 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.008685, allocations: 3.938 kB / 0.5582 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.008747, allocations: 8 kB / 0.5582 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.008763, allocations: 7.984 kB / 0.5582 GB, free: 12.53 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 0.0001101/0.008873, allocations: 156.6 kB / 0.5584 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.008897, allocations: 7.953 kB / 0.5584 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.008939, allocations: 15.97 kB / 0.5584 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.008944, allocations: 4 kB / 0.5584 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008947, allocations: 0 / 0.5584 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.008954, allocations: 7.922 kB / 0.5584 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.009099, allocations: 132.5 kB / 0.5585 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.009101, allocations: 3.938 kB / 0.5585 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.009227, allocations: 27.97 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009229, allocations: 0 / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.009238, allocations: 0 / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.009243, allocations: 4 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009243, allocations: 0 / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.009621, allocations: 157 kB / 0.5587 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.009628, allocations: 4 kB / 0.5587 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.009642, allocations: 0 / 0.5587 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.009704, allocations: 11.98 kB / 0.5587 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.009764, allocations: 11.92 kB / 0.5588 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.009778, allocations: 7.984 kB / 0.5588 GB, free: 11.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.474e-05/0.009843, allocations: 127.1 kB / 0.5589 GB, free: 11.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009843, allocations: 0 / 0.5589 GB, free: 11.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.01007, allocations: 23.94 kB / 0.5589 GB, free: 11.78 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.0002088/0.01028, allocations: 119.2 kB / 0.559 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.01063, allocations: 91.61 kB / 0.5591 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01063, allocations: 0 / 0.5591 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.01079, allocations: 47.66 kB / 0.5592 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.01093, allocations: 12 kB / 0.5592 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.01136, allocations: 164.7 kB / 0.5593 GB, free: 11.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.561e-05/0.01143, allocations: 75.27 kB / 0.5594 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.01155, allocations: 31.95 kB / 0.5594 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.01159, allocations: 20.48 kB / 0.5594 GB, free: 11.16 MB / 490.7 MB Notification: Performance of SimCode: time 4.4e-07/0.01159, allocations: 4 kB / 0.5594 GB, free: 11.16 MB / 490.7 MB Notification: Performance of Templates: time 0.004086/0.01568, allocations: 1.018 MB / 0.5604 GB, free: 10.15 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: 5.749047436052933]