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.001245/0.001245, allocations: 88.22 kB / 19.65 MB, free: 300 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.001424/0.001424, allocations: 164.9 kB / 23.01 MB, free: 1.574 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.9833/0.9833, allocations: 177.1 MB / 203.4 MB, free: 5.152 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.001707/0.001707, allocations: 242.7 kB / 260.2 MB, free: 12.66 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.7113/0.7113, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.074e-06/2.074e-06, allocations: 0 / 0.5552 GB, free: 484 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.589e-05, allocations: 2.312 kB / 0.5552 GB, free: 480 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.001655/0.001681, allocations: 0.607 MB / 0.5557 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.002123, allocations: 107.6 kB / 0.5559 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.002146, allocations: 0 / 0.5559 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.002194, allocations: 0 / 0.5559 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.863e-06/0.002201, allocations: 0 / 0.5559 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.002619, allocations: 43.81 kB / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.002754, allocations: 59.94 kB / 0.556 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.002796, allocations: 7.984 kB / 0.556 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.002855, allocations: 35.95 kB / 0.556 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.002902, allocations: 19.97 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.002923, allocations: 4 kB / 0.556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.003078, allocations: 47.94 kB / 0.5561 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.003127, allocations: 31.89 kB / 0.5561 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.003159, allocations: 11.98 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.003359, allocations: 95.67 kB / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003361, allocations: 0 / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.003362, allocations: 0 / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003366, allocations: 0 / 0.5562 GB, free: 15.41 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.0005327/0.003899, allocations: 396.6 kB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.003941, allocations: 8.75 kB / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.004008, allocations: 16.94 kB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.004088, allocations: 120.5 kB / 0.5567 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003589/0.004447, allocations: 0.5221 MB / 0.5572 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.00447, allocations: 8.375 kB / 0.5572 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.004723, allocations: 90.83 kB / 0.5573 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.004733, allocations: 192 / 0.5573 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.004748, allocations: 4.375 kB / 0.5573 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.004763, allocations: 4.125 kB / 0.5573 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.004951, allocations: 99.83 kB / 0.5574 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.005123, allocations: 124.6 kB / 0.5575 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.005269, allocations: 78.97 kB / 0.5576 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.005332, allocations: 35.67 kB / 0.5576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.005361, allocations: 0 / 0.5576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.00539, allocations: 45.31 kB / 0.5577 GB, free: 13.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.005392, allocations: 0 / 0.5577 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003153/0.005707, allocations: 105.9 kB / 0.5578 GB, free: 13.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.005742, allocations: 55.41 kB / 0.5578 GB, free: 13.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.689e-05/0.005799, allocations: 150.2 kB / 0.558 GB, free: 13.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.005813, allocations: 25.7 kB / 0.558 GB, free: 13.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.005848, allocations: 126.9 kB / 0.5581 GB, free: 13.12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.005903, allocations: 39.67 kB / 0.5582 GB, free: 13.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.00596, allocations: 39.36 kB / 0.5582 GB, free: 13.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.006103, allocations: 0.4884 MB / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.006156, allocations: 15.98 kB / 0.5587 GB, free: 12.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.006203, allocations: 23.92 kB / 0.5587 GB, free: 12.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.006304, allocations: 39.67 kB / 0.5588 GB, free: 12.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.006307, allocations: 4 kB / 0.5588 GB, free: 12.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001692/0.006476, allocations: 89.56 kB / 0.5589 GB, free: 12.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.00649, allocations: 4 kB / 0.5589 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.006499, allocations: 0 / 0.5589 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.006521, allocations: 8 kB / 0.5589 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.006636, allocations: 27.91 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.006644, allocations: 7.922 kB / 0.5589 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.006673, allocations: 7.938 kB / 0.5589 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.006686, allocations: 11.98 kB / 0.5589 GB, free: 12.29 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 6.103e-05/0.006747, allocations: 152.6 kB / 0.5591 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.006763, allocations: 12 kB / 0.5591 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.006788, allocations: 7.969 kB / 0.5591 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.00679, allocations: 0 / 0.5591 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006794, allocations: 0 / 0.5591 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.006797, allocations: 7.938 kB / 0.5591 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.926e-05/0.006877, allocations: 132.6 kB / 0.5592 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006878, allocations: 0 / 0.5592 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.006932, allocations: 23.97 kB / 0.5592 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006934, allocations: 0 / 0.5592 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.006942, allocations: 11.94 kB / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006943, allocations: 0 / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006944, allocations: 0 / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.007079, allocations: 129 kB / 0.5594 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.007087, allocations: 7.953 kB / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.007098, allocations: 0 / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.007124, allocations: 15.98 kB / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.00717, allocations: 7.984 kB / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.007177, allocations: 7.984 kB / 0.5594 GB, free: 11.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.887e-05/0.007206, allocations: 123.1 kB / 0.5595 GB, free: 11.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007206, allocations: 0 / 0.5595 GB, free: 11.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.007353, allocations: 23.94 kB / 0.5596 GB, free: 11.57 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.0001419/0.007495, allocations: 127.1 kB / 0.5597 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.00762, allocations: 67.7 kB / 0.5597 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007621, allocations: 4 kB / 0.5597 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.00767, allocations: 47.59 kB / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.007784, allocations: 11.98 kB / 0.5598 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.008018, allocations: 150 kB / 0.5599 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.008052, allocations: 64.16 kB / 0.56 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.341e-05/0.008115, allocations: 35.94 kB / 0.56 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.008148, allocations: 16.5 kB / 0.5601 GB, free: 11 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.008148, allocations: 0 / 0.5601 GB, free: 11 MB / 490.7 MB Notification: Performance of Templates: time 0.002625/0.01077, allocations: 1.024 MB / 0.5611 GB, free: 9.98 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.7818442010320723]