Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7167/0.7167, allocations: 127.4 MB / 134.9 MB, free: 3.746 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 184.8 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.2 MB / 399.5 MB, free: 5.867 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009051/0.0009052, allocations: 90.09 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.631e-05, allocations: 4 kB / 0.5466 GB, free: 60.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 76.76 MB / 0.6215 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5887, allocations: 102.8 MB / 0.7219 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.5889, allocations: 76.55 kB / 0.722 GB, free: 12.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004007/0.5929, allocations: 1.367 MB / 0.7233 GB, free: 11.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.593, allocations: 0 / 0.7233 GB, free: 11.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.593, allocations: 0 / 0.7233 GB, free: 11.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000474/0.5935, allocations: 352.7 kB / 0.7236 GB, free: 11.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.5935, allocations: 12.03 kB / 0.7237 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.5935, allocations: 12.48 kB / 0.7237 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.5937, allocations: 167 kB / 0.7238 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.5937, allocations: 0 / 0.7238 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.5938, allocations: 4 kB / 0.7238 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001261/0.5939, allocations: 26.17 kB / 0.7239 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.594, allocations: 41.25 kB / 0.7239 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.5941, allocations: 0 / 0.7239 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5941, allocations: 0 / 0.7239 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.5941, allocations: 4 kB / 0.7239 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.5945, allocations: 252.7 kB / 0.7241 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.5947, allocations: 45.12 kB / 0.7242 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.787e-05/0.5947, allocations: 12.23 kB / 0.7242 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.5951, allocations: 417.5 kB / 0.7246 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.5951, allocations: 30.56 kB / 0.7246 GB, free: 10.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.5952, allocations: 0 / 0.7246 GB, free: 10.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003211/0.5955, allocations: 64.28 kB / 0.7247 GB, free: 10 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5955, allocations: 56.16 kB / 0.7247 GB, free: 9.934 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.5956, allocations: 92 kB / 0.7248 GB, free: 9.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.5956, allocations: 25.7 kB / 0.7248 GB, free: 9.809 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.5957, allocations: 90.88 kB / 0.7249 GB, free: 9.719 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.5957, allocations: 13.84 kB / 0.7249 GB, free: 9.707 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5957, allocations: 0 / 0.7249 GB, free: 9.707 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5958, allocations: 310.8 kB / 0.7252 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.289e-05/0.5959, allocations: 11.38 kB / 0.7253 GB, free: 9.387 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.5959, allocations: 11.31 kB / 0.7253 GB, free: 9.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.5961, allocations: 23.16 kB / 0.7253 GB, free: 9.359 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5961, allocations: 0 / 0.7253 GB, free: 9.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002038/0.5963, allocations: 64.02 kB / 0.7253 GB, free: 9.297 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5963, allocations: 4 kB / 0.7253 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.5963, allocations: 0 / 0.7253 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5963, allocations: 4 kB / 0.7254 GB, free: 9.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.5964, allocations: 19.42 kB / 0.7254 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5964, allocations: 3.953 kB / 0.7254 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.5965, allocations: 8 kB / 0.7254 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.5965, allocations: 0 / 0.7254 GB, free: 9.262 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: 2 (bin.y,bin.k) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.5966, allocations: 111.5 kB / 0.7255 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.5966, allocations: 8 kB / 0.7255 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.5969, allocations: 67.45 kB / 0.7256 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5969, allocations: 0 / 0.7256 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5969, allocations: 4.047 kB / 0.7256 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5969, allocations: 11.92 kB / 0.7256 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.5971, allocations: 133.8 kB / 0.7257 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5971, allocations: 0 / 0.7257 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-05/0.5972, allocations: 19.73 kB / 0.7257 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5972, allocations: 0 / 0.7257 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.5972, allocations: 4 kB / 0.7257 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.5972, allocations: 4.859 kB / 0.7257 GB, free: 8.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5972, allocations: 3.938 kB / 0.7257 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.5975, allocations: 166.5 kB / 0.7259 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.5975, allocations: 81.05 kB / 0.726 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.5975, allocations: 0 / 0.726 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.5976, allocations: 11.98 kB / 0.726 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.5977, allocations: 10.86 kB / 0.726 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.5977, allocations: 4.25 kB / 0.726 GB, free: 8.574 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.296e-05/0.5978, allocations: 87.16 kB / 0.7261 GB, free: 8.492 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5978, allocations: 0 / 0.7261 GB, free: 8.492 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.598, allocations: 16 kB / 0.7261 GB, free: 8.477 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: 2 (bin.y,bin.k) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.5982, allocations: 123.2 kB / 0.7262 GB, free: 8.348 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.412e-05/0.5983, allocations: 26.86 kB / 0.7262 GB, free: 8.328 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5983, allocations: 4 kB / 0.7262 GB, free: 8.324 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.5984, allocations: 15.19 kB / 0.7263 GB, free: 8.312 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.5985, allocations: 3.953 kB / 0.7263 GB, free: 8.309 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.5988, allocations: 67.88 kB / 0.7263 GB, free: 8.223 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5991, allocations: 0.6884 MB / 0.727 GB, free: 7.508 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.381e-05/0.5991, allocations: 3.984 kB / 0.727 GB, free: 7.504 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.5992, allocations: 15.44 kB / 0.727 GB, free: 7.488 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5992, allocations: 0 / 0.727 GB, free: 7.488 MB / 490.7 MB Notification: Performance of Templates: time 0.002722/0.6019, allocations: 0.7904 MB / 0.7278 GB, free: 6.711 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)