Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.7295/0.7295, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.0009548/0.0009548, allocations: 186.2 kB / 161.7 MB, free: 2.754 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.87/1.87, allocations: 205.4 MB / 394.8 MB, free: 20.96 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.001099/0.001099, allocations: 102.3 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003954, allocations: 16 kB / 0.5423 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4112, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5482, allocations: 101.1 MB / 0.7139 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5486, allocations: 79.94 kB / 0.714 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004033/0.5526, allocations: 1.333 MB / 0.7153 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.685e-06/0.5527, allocations: 0 / 0.7153 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5527, allocations: 0 / 0.7153 GB, free: 15.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004446/0.5531, allocations: 363.4 kB / 0.7156 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5532, allocations: 8.031 kB / 0.7156 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.5532, allocations: 4.938 kB / 0.7156 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5534, allocations: 164.3 kB / 0.7158 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.5536, allocations: 285.6 kB / 0.7161 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.5537, allocations: 4.375 kB / 0.7161 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.5539, allocations: 78.2 kB / 0.7162 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5539, allocations: 11.92 kB / 0.7162 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.554, allocations: 0 / 0.7162 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.554, allocations: 0 / 0.7162 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.5543, allocations: 139.7 kB / 0.7163 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.5545, allocations: 177.6 kB / 0.7165 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.5548, allocations: 102.2 kB / 0.7166 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.5549, allocations: 44.84 kB / 0.7166 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.555, allocations: 0 / 0.7166 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.555, allocations: 38.55 kB / 0.7166 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.555, allocations: 0 / 0.7166 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0005006/0.5555, allocations: 153.7 kB / 0.7168 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.5556, allocations: 55.39 kB / 0.7168 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.5556, allocations: 89.86 kB / 0.7169 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5557, allocations: 29.7 kB / 0.717 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.5557, allocations: 84.14 kB / 0.717 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.5557, allocations: 35.47 kB / 0.7171 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.5558, allocations: 0 / 0.7171 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5559, allocations: 318.8 kB / 0.7174 GB, free: 13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.556, allocations: 31.97 kB / 0.7174 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.5561, allocations: 31.98 kB / 0.7174 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.5564, allocations: 73.41 kB / 0.7175 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5564, allocations: 3.938 kB / 0.7175 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003003/0.5567, allocations: 113.6 kB / 0.7176 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.5567, allocations: 15.92 kB / 0.7176 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5568, allocations: 0 / 0.7176 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5568, allocations: 3.938 kB / 0.7176 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5569, allocations: 23.98 kB / 0.7177 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5569, allocations: 0 / 0.7177 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/0.557, allocations: 8 kB / 0.7177 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.557, allocations: 7.984 kB / 0.7177 GB, free: 12.69 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.5571, allocations: 117.8 kB / 0.7178 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.5571, allocations: 11.84 kB / 0.7178 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.5572, allocations: 11.95 kB / 0.7178 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5572, allocations: 0 / 0.7178 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5572, allocations: 3.938 kB / 0.7178 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5572, allocations: 0 / 0.7178 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.5574, allocations: 185.6 kB / 0.718 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5574, allocations: 0 / 0.718 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.5575, allocations: 23.97 kB / 0.718 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.5575, allocations: 7.938 kB / 0.718 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5576, allocations: 4 kB / 0.718 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.5576, allocations: 0 / 0.718 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5576, allocations: 0 / 0.718 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.5579, allocations: 141 kB / 0.7182 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.558, allocations: 85.05 kB / 0.7182 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.558, allocations: 7.875 kB / 0.7183 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.558, allocations: 4 kB / 0.7183 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.5581, allocations: 15.97 kB / 0.7183 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5581, allocations: 8 kB / 0.7183 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.5582, allocations: 79.22 kB / 0.7184 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.5582, allocations: 0 / 0.7184 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002284/0.5584, allocations: 31.98 kB / 0.7184 GB, free: 11.87 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: 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 (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.0002613/0.5587, allocations: 119 kB / 0.7185 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.559, allocations: 91.81 kB / 0.7186 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.559, allocations: 0 / 0.7186 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.5592, allocations: 47.97 kB / 0.7186 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.5593, allocations: 4 kB / 0.7186 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.5597, allocations: 162.7 kB / 0.7188 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.56, allocations: 0.6925 MB / 0.7195 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.5602, allocations: 43.92 kB / 0.7195 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.5602, allocations: 19.42 kB / 0.7195 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.5602, allocations: 0 / 0.7195 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of Templates: time 0.00335/0.5636, allocations: 0.9799 MB / 0.7205 GB, free: 9.648 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)