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.0006899/0.0006899, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008745/0.001564, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007035/0.0007035, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009471/0.001651, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9468/0.9468, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08589/1.033, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001316/0.001316, allocations: 240.7 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002557, allocations: 470.8 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6978/0.6978, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07027/0.7681, allocations: 42.41 MB / 426.5 MB, free: 5.941 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.203e-06/1.203e-06, allocations: 0 / 427.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.498e-06/1.07e-05, allocations: 2.312 kB / 427.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Binomial): time 0.002142/0.002153, allocations: 1.636 MB / 429.4 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002699/0.002423, allocations: 184.1 kB / 429.6 MB, free: 2.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.00245, allocations: 4 kB / 429.6 MB, free: 2.766 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.002474, allocations: 7.922 kB / 429.6 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.341e-05/0.002497, allocations: 7.938 kB / 429.6 MB, free: 2.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.002691, allocations: 47.81 kB / 429.7 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.002757, allocations: 31.92 kB / 429.7 MB, free: 2.672 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.719e-05/0.002824, allocations: 7.984 kB / 429.7 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.002882, allocations: 35.91 kB / 429.8 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.002922, allocations: 15.97 kB / 429.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.002936, allocations: 4 kB / 429.8 MB, free: 2.609 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.003069, allocations: 47.95 kB / 429.8 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.003081, allocations: 7.938 kB / 429.8 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.003098, allocations: 8 kB / 429.9 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.003225, allocations: 67.75 kB / 429.9 MB, free: 2.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.003239, allocations: 0 / 429.9 MB, free: 2.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003239, allocations: 0 / 429.9 MB, free: 2.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.003255, allocations: 0 / 429.9 MB, free: 2.48 MB / 410.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.002228/0.005483, allocations: 264.5 kB / 430.2 MB, free: 2.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.00551, allocations: 11.98 kB / 430.2 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.005538, allocations: 12.92 kB / 430.2 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.85e-05/0.005607, allocations: 109.8 kB / 430.3 MB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.005625, allocations: 4.375 kB / 430.3 MB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.005633, allocations: 8.312 kB / 430.3 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.005737, allocations: 70.88 kB / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.005743, allocations: 192 / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-06/0.005749, allocations: 384 / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005754, allocations: 384 / 430.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.76e-05/0.005781, allocations: 15.92 kB / 430.4 MB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.005978, allocations: 160.2 kB / 430.6 MB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.006104, allocations: 38.56 kB / 430.6 MB, free: 1.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.006118, allocations: 12.84 kB / 430.6 MB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.006236, allocations: 23.98 kB / 430.6 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.006254, allocations: 38.55 kB / 430.7 MB, free: 1.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.006255, allocations: 0 / 430.7 MB, free: 1.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001013/0.006356, allocations: 41.62 kB / 430.7 MB, free: 1.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.006381, allocations: 59.34 kB / 430.8 MB, free: 1.512 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.006431, allocations: 110.7 kB / 430.9 MB, free: 1.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.006439, allocations: 25.7 kB / 430.9 MB, free: 1.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.006468, allocations: 88.09 kB / 431 MB, free: 1.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.006481, allocations: 3.953 kB / 431 MB, free: 1.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.006504, allocations: 13.72 kB / 431 MB, free: 1.246 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.558e-05/0.006569, allocations: 326.8 kB / 431.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-06/0.006578, allocations: 4 kB / 431.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.006587, allocations: 4 kB / 431.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.006611, allocations: 16.84 kB / 431.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.006612, allocations: 0 / 431.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.021e-05/0.006652, allocations: 41.62 kB / 431.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.006667, allocations: 8 kB / 431.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006671, allocations: 3.938 kB / 431.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.006678, allocations: 0 / 431.4 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.477e-05/0.006723, allocations: 11.98 kB / 431.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.006725, allocations: 0 / 431.4 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.006742, allocations: 7.938 kB / 431.4 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.006745, allocations: 4 kB / 431.4 MB, free: 0.8086 MB / 410.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 4.417e-05/0.006789, allocations: 106.2 kB / 431.5 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.006803, allocations: 7.984 kB / 431.5 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.006865, allocations: 53.3 kB / 431.6 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.006866, allocations: 0 / 431.6 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.006868, allocations: 0 / 431.6 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.00687, allocations: 0 / 431.6 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.348e-05/0.006943, allocations: 73.88 kB / 431.7 MB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.006944, allocations: 4.25 kB / 431.7 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.006971, allocations: 19.92 kB / 431.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.006976, allocations: 3.953 kB / 431.7 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.006977, allocations: 0 / 431.7 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-06/0.00698, allocations: 0 / 431.7 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006982, allocations: 7.938 kB / 431.7 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006983, allocations: 0 / 431.7 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.007108, allocations: 135.5 kB / 431.8 MB, free: 368 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.007117, allocations: 3.984 kB / 431.8 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.959e-05/0.007147, allocations: 0 / 431.8 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.007181, allocations: 15.92 kB / 431.8 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.007183, allocations: 4 kB / 431.9 MB, free: 344 kB / 410.7 MB Notification: Performance of sorting global known variables: time 9.778e-06/0.007193, allocations: 8.859 kB / 431.9 MB, free: 332 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007193, allocations: 0 / 431.9 MB, free: 332 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001321/0.007325, allocations: 19.94 kB / 431.9 MB, free: 312 kB / 410.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.0001033/0.007429, allocations: 108.3 kB / 432 MB, free: 196 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.313e-05/0.007482, allocations: 12.86 kB / 432 MB, free: 180 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.007485, allocations: 0 / 432 MB, free: 180 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.699e-05/0.007502, allocations: 16.84 kB / 432 MB, free: 160 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.00762, allocations: 11.94 kB / 432 MB, free: 148 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1535/0.1611, allocations: 131.6 kB / 432.2 MB, free: 2.828 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.061e-05/0.1612, allocations: 54.86 kB / 432.2 MB, free: 2.758 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.367e-05/0.1612, allocations: 3.375 kB / 432.2 MB, free: 2.758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.1613, allocations: 54.06 kB / 432.3 MB, free: 2.715 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1613, allocations: 0 / 432.3 MB, free: 2.715 MB / 410.7 MB Notification: Performance of Templates: time 0.002681/0.1639, allocations: 1.054 MB / 433.3 MB, free: 2.695 MB / 410.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.3377622347325087]