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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6686/0.6686, allocations: 117.9 MB / 133.9 MB, free: 4.512 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.000952/0.0009521, allocations: 176 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 394.8 MB, free: 20.9 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.0009289/0.0009287, allocations: 96.14 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003963, allocations: 15.98 kB / 0.5423 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3769, allocations: 74.53 MB / 0.6151 GB, free: 54.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5157, allocations: 102.2 MB / 0.7149 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.5159, allocations: 75.95 kB / 0.715 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004253/0.5202, allocations: 1.376 MB / 0.7163 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5202, allocations: 4 kB / 0.7163 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.5203, allocations: 4 kB / 0.7163 GB, free: 14.33 MB / 0.4948 GB 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.0005063/0.5208, allocations: 355.4 kB / 0.7167 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5208, allocations: 12.03 kB / 0.7167 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.5209, allocations: 0.9375 kB / 0.7167 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.521, allocations: 180.2 kB / 0.7168 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.5211, allocations: 4.375 kB / 0.7168 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.5211, allocations: 8.375 kB / 0.7169 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.5213, allocations: 58.23 kB / 0.7169 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5213, allocations: 192 / 0.7169 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.5213, allocations: 7.938 kB / 0.7169 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.5213, allocations: 4 kB / 0.7169 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.5215, allocations: 51.95 kB / 0.717 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.522, allocations: 296.4 kB / 0.7172 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.5224, allocations: 66.52 kB / 0.7173 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.5225, allocations: 28.91 kB / 0.7173 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004233/0.5229, allocations: 409.6 kB / 0.7177 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5229, allocations: 38.56 kB / 0.7178 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.523, allocations: 0 / 0.7178 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004287/0.5234, allocations: 109.6 kB / 0.7179 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.5235, allocations: 59.41 kB / 0.7179 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.5236, allocations: 105.8 kB / 0.718 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.5236, allocations: 29.7 kB / 0.7181 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.5237, allocations: 80.14 kB / 0.7181 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.5237, allocations: 15.83 kB / 0.7182 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.5237, allocations: 4 kB / 0.7182 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5238, allocations: 314.8 kB / 0.7185 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.524, allocations: 31.92 kB / 0.7185 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.524, allocations: 27.97 kB / 0.7185 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.5242, allocations: 56.81 kB / 0.7186 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5242, allocations: 0 / 0.7186 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002361/0.5245, allocations: 89.5 kB / 0.7187 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5245, allocations: 4 kB / 0.7187 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.5245, allocations: 4 kB / 0.7187 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.5245, allocations: 4 kB / 0.7187 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.5246, allocations: 11.98 kB / 0.7187 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.5247, allocations: 0 / 0.7187 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.5247, allocations: 11.98 kB / 0.7187 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.5248, allocations: 0 / 0.7187 GB, free: 11.59 MB / 0.4948 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.605e-05/0.5249, allocations: 121.7 kB / 0.7188 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.5249, allocations: 4 kB / 0.7188 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.5252, allocations: 93.48 kB / 0.7189 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5252, allocations: 0 / 0.7189 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5252, allocations: 4 kB / 0.7189 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5252, allocations: 0 / 0.7189 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.5254, allocations: 173.6 kB / 0.7191 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5254, allocations: 0 / 0.7191 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.5255, allocations: 11.98 kB / 0.7191 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5255, allocations: 0 / 0.7191 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.5255, allocations: 4 kB / 0.7191 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.5255, allocations: 3.984 kB / 0.7191 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5255, allocations: 0 / 0.7191 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.5258, allocations: 191.7 kB / 0.7193 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.5259, allocations: 77.11 kB / 0.7193 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.5259, allocations: 4 kB / 0.7193 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.526, allocations: 7.984 kB / 0.7194 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.5261, allocations: 12.03 kB / 0.7194 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.5261, allocations: 7.984 kB / 0.7194 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.5261, allocations: 91.58 kB / 0.7195 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5261, allocations: 0 / 0.7195 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002592/0.5264, allocations: 31.92 kB / 0.7195 GB, free: 10.66 MB / 0.4948 GB 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 () * 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 (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.0002354/0.5266, allocations: 119 kB / 0.7196 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.5269, allocations: 59.95 kB / 0.7197 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5269, allocations: 0 / 0.7197 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.527, allocations: 31.92 kB / 0.7197 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.5274, allocations: 10.77 kB / 0.7197 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.5279, allocations: 132.6 kB / 0.7198 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.5283, allocations: 0.6809 MB / 0.7205 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.862e-05/0.5284, allocations: 4 kB / 0.7205 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.5284, allocations: 11.44 kB / 0.7205 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.5284, allocations: 7.938 kB / 0.7205 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of Templates: time 0.003948/0.5324, allocations: 0.8707 MB / 0.7214 GB, free: 8.688 MB / 0.4948 GB 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)