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.001359/0.001359, allocations: 82.25 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001497/0.001497, allocations: 168.1 kB / 22.46 MB, free: 5.379 MB / 14.72 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.431/1.431, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.002434/0.002434, allocations: 235.2 kB / 259.4 MB, free: 468 kB / 238.1 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.083/1.083, allocations: 138.4 MB / 454.3 MB, free: 1.984 MB / 366.1 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.984e-06/1.984e-06, allocations: 0 / 0.6468 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.924e-05/4.123e-05, allocations: 6.219 kB / 0.6468 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Binomial): time 0.002211/0.002253, allocations: 0.5964 MB / 0.6474 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005291/0.002782, allocations: 103.6 kB / 0.6475 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.002808, allocations: 4 kB / 0.6475 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.613e-05/0.002854, allocations: 0 / 0.6475 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-06/0.002861, allocations: 0 / 0.6475 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.003337, allocations: 43.81 kB / 0.6476 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.003514, allocations: 67.92 kB / 0.6476 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.003561, allocations: 0 / 0.6476 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.003643, allocations: 31.95 kB / 0.6477 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.003701, allocations: 19.97 kB / 0.6477 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.003724, allocations: 4 kB / 0.6477 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.003899, allocations: 55.86 kB / 0.6477 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.003945, allocations: 15.98 kB / 0.6478 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.003983, allocations: 23.91 kB / 0.6478 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.004179, allocations: 87.8 kB / 0.6479 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004181, allocations: 0 / 0.6479 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004182, allocations: 0 / 0.6479 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.004186, allocations: 0 / 0.6479 GB, free: 3.895 MB / 0.5606 GB 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.0005349/0.004721, allocations: 294.3 kB / 0.6481 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.00476, allocations: 9.344 kB / 0.6482 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.00481, allocations: 12.88 kB / 0.6482 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.149e-05/0.004901, allocations: 113.7 kB / 0.6483 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/0.005328, allocations: 0.5221 MB / 0.6488 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.005348, allocations: 20.3 kB / 0.6488 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.005612, allocations: 74.2 kB / 0.6489 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.00562, allocations: 192 / 0.6489 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.005641, allocations: 8.375 kB / 0.6489 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.005654, allocations: 4.125 kB / 0.6489 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.006026, allocations: 123.8 kB / 0.649 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.006187, allocations: 117.2 kB / 0.6491 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.006519, allocations: 99.75 kB / 0.6492 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.006672, allocations: 44.81 kB / 0.6493 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.006695, allocations: 0 / 0.6493 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.006722, allocations: 34.56 kB / 0.6493 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.006723, allocations: 0 / 0.6493 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0005783/0.007302, allocations: 157.8 kB / 0.6494 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.007341, allocations: 51.41 kB / 0.6495 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.007397, allocations: 97.8 kB / 0.6496 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.007416, allocations: 25.7 kB / 0.6496 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.00745, allocations: 80.14 kB / 0.6497 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.836e-05/0.007508, allocations: 43.67 kB / 0.6497 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.00756, allocations: 25.7 kB / 0.6497 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.007754, allocations: 318.8 kB / 0.6501 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.0079, allocations: 31.97 kB / 0.6501 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.008044, allocations: 35.91 kB / 0.6501 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.008348, allocations: 73.47 kB / 0.6502 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008349, allocations: 4 kB / 0.6502 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003642/0.008714, allocations: 113.5 kB / 0.6503 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.008732, allocations: 8 kB / 0.6503 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.008736, allocations: 0 / 0.6503 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.00875, allocations: 0 / 0.6503 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.008911, allocations: 23.97 kB / 0.6503 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.008919, allocations: 3.938 kB / 0.6503 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.008987, allocations: 19.89 kB / 0.6504 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.009003, allocations: 4 kB / 0.6504 GB, free: 1.047 MB / 0.5606 GB 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 9.935e-05/0.009102, allocations: 117.8 kB / 0.6505 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.009119, allocations: 4 kB / 0.6505 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.827e-05/0.009157, allocations: 7.969 kB / 0.6505 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009159, allocations: 0 / 0.6505 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.009164, allocations: 0 / 0.6505 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.009168, allocations: 11.88 kB / 0.6505 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.009294, allocations: 125.2 kB / 0.6506 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.009296, allocations: 0 / 0.6506 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.00943, allocations: 27.97 kB / 0.6506 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.009432, allocations: 0 / 0.6506 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.00945, allocations: 12 kB / 0.6506 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.009452, allocations: 0 / 0.6506 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.009455, allocations: 3.984 kB / 0.6507 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.009844, allocations: 144.9 kB / 0.6508 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.00985, allocations: 0 / 0.6508 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.009867, allocations: 0 / 0.6508 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.009936, allocations: 15.92 kB / 0.6508 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.009993, allocations: 7.984 kB / 0.6508 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.01001, allocations: 11.98 kB / 0.6508 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.01005, allocations: 83.22 kB / 0.6509 GB, free: 432 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.01005, allocations: 0 / 0.6509 GB, free: 432 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002361/0.01028, allocations: 23.94 kB / 0.6509 GB, free: 408 kB / 0.5606 GB 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.0002117/0.01049, allocations: 119.2 kB / 0.651 GB, free: 280 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.01085, allocations: 83.88 kB / 0.6511 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01085, allocations: 0 / 0.6511 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.01102, allocations: 47.91 kB / 0.6512 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.01117, allocations: 10.5 kB / 0.6512 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2325/0.2437, allocations: 154.1 kB / 0.6513 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.812e-05/0.2437, allocations: 68.92 kB / 0.6514 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000198/0.2439, allocations: 36.42 kB / 0.6514 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.244, allocations: 18.53 kB / 0.6514 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.244, allocations: 1.188 kB / 0.6514 GB, free: 56.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.003547/0.2476, allocations: 1.006 MB / 0.6524 GB, free: 56.71 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.688268847763538] Failed to read output from testmodel.py, exit status != 0: 0.2551574669778347 0.2638825 0.257508985 Calling exit ...