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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7213/0.7213, allocations: 128.7 MB / 144.5 MB, free: 1.406 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.001159/0.001159, allocations: 196.5 kB / 174.3 MB, free: 5.941 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.473/1.473, allocations: 205 MB / 408.9 MB, free: 9.746 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.0009973/0.0009974, allocations: 107.9 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 59.09 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1465, allocations: 75.48 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001744/0.1483, allocations: 0.641 MB / 0.6323 GB, free: 32.41 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004374/0.1487, allocations: 113 kB / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.1488, allocations: 0 / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.1488, allocations: 0 / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.1488, allocations: 0 / 0.6324 GB, free: 32.3 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1492, allocations: 31.91 kB / 0.6325 GB, free: 32.27 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1493, allocations: 67.92 kB / 0.6325 GB, free: 32.2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.1494, allocations: 0 / 0.6325 GB, free: 32.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/0.1494, allocations: 23.98 kB / 0.6325 GB, free: 32.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.986e-05/0.1495, allocations: 23.95 kB / 0.6326 GB, free: 32.15 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1495, allocations: 4 kB / 0.6326 GB, free: 32.15 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1496, allocations: 39.97 kB / 0.6326 GB, free: 32.11 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.1497, allocations: 23.95 kB / 0.6326 GB, free: 32.09 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.1497, allocations: 23.86 kB / 0.6327 GB, free: 32.06 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1498, allocations: 67.84 kB / 0.6327 GB, free: 32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1499, allocations: 4 kB / 0.6327 GB, free: 31.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1499, allocations: 3.938 kB / 0.6327 GB, free: 31.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1499, allocations: 4 kB / 0.6327 GB, free: 31.98 MB / 442.7 MB 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.0004806/0.1504, allocations: 367.6 kB / 0.6331 GB, free: 31.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1504, allocations: 8.031 kB / 0.6331 GB, free: 31.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1505, allocations: 12.84 kB / 0.6331 GB, free: 31.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.1505, allocations: 168.7 kB / 0.6333 GB, free: 31.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.1507, allocations: 277.6 kB / 0.6335 GB, free: 31.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1508, allocations: 8.375 kB / 0.6335 GB, free: 31.01 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.151, allocations: 78.14 kB / 0.6336 GB, free: 30.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.151, allocations: 11.88 kB / 0.6336 GB, free: 30.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.151, allocations: 4 kB / 0.6336 GB, free: 30.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.1511, allocations: 4 kB / 0.6336 GB, free: 30.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.1514, allocations: 131.8 kB / 0.6338 GB, free: 30.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.1515, allocations: 181.6 kB / 0.6339 GB, free: 30.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.1518, allocations: 94.52 kB / 0.634 GB, free: 30.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.1519, allocations: 44.78 kB / 0.6341 GB, free: 30.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1519, allocations: 7.984 kB / 0.6341 GB, free: 30.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.152, allocations: 34.55 kB / 0.6341 GB, free: 30.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.152, allocations: 0 / 0.6341 GB, free: 30.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.000493/0.1525, allocations: 149.8 kB / 0.6342 GB, free: 30.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.1525, allocations: 55.39 kB / 0.6343 GB, free: 30.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.147e-05/0.1525, allocations: 89.86 kB / 0.6344 GB, free: 30.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.1526, allocations: 29.7 kB / 0.6344 GB, free: 30 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.353e-05/0.1526, allocations: 80.14 kB / 0.6345 GB, free: 29.92 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.1526, allocations: 35.47 kB / 0.6345 GB, free: 29.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.1527, allocations: 33.69 kB / 0.6346 GB, free: 29.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.1527, allocations: 310.8 kB / 0.6348 GB, free: 29.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1529, allocations: 39.91 kB / 0.6349 GB, free: 29.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.153, allocations: 27.98 kB / 0.6349 GB, free: 29.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.1532, allocations: 81.34 kB / 0.635 GB, free: 29.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1532, allocations: 4 kB / 0.635 GB, free: 29.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002914/0.1535, allocations: 121.5 kB / 0.6351 GB, free: 29.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1536, allocations: 7.938 kB / 0.6351 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1536, allocations: 0 / 0.6351 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1536, allocations: 4 kB / 0.6351 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1538, allocations: 23.92 kB / 0.6351 GB, free: 29.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1538, allocations: 0 / 0.6351 GB, free: 29.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.1538, allocations: 7.984 kB / 0.6352 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1538, allocations: 8 kB / 0.6352 GB, free: 29.21 MB / 442.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: 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 6.659e-05/0.1539, allocations: 117.8 kB / 0.6353 GB, free: 29.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.1539, allocations: 11.94 kB / 0.6353 GB, free: 29.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.154, allocations: 11.97 kB / 0.6353 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.154, allocations: 0 / 0.6353 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.154, allocations: 0 / 0.6353 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.154, allocations: 0 / 0.6353 GB, free: 29.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1541, allocations: 185.5 kB / 0.6355 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1541, allocations: 3.938 kB / 0.6355 GB, free: 28.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1542, allocations: 23.97 kB / 0.6355 GB, free: 28.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1542, allocations: 7.875 kB / 0.6355 GB, free: 28.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1543, allocations: 8 kB / 0.6355 GB, free: 28.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1543, allocations: 4 kB / 0.6355 GB, free: 28.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1543, allocations: 0 / 0.6355 GB, free: 28.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.1548, allocations: 0.7215 MB / 0.6362 GB, free: 28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.1549, allocations: 81.02 kB / 0.6363 GB, free: 27.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1549, allocations: 4 kB / 0.6363 GB, free: 27.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.214e-05/0.1549, allocations: 0 / 0.6363 GB, free: 27.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.155, allocations: 23.97 kB / 0.6363 GB, free: 27.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.155, allocations: 7.938 kB / 0.6363 GB, free: 27.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.791e-05/0.1551, allocations: 75.28 kB / 0.6364 GB, free: 27.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1551, allocations: 0 / 0.6364 GB, free: 27.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000364/0.1554, allocations: 20 kB / 0.6364 GB, free: 27.78 MB / 442.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: 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.0002214/0.1557, allocations: 115.2 kB / 0.6365 GB, free: 27.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.156, allocations: 91.81 kB / 0.6366 GB, free: 27.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.156, allocations: 4 kB / 0.6366 GB, free: 27.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1561, allocations: 47.95 kB / 0.6367 GB, free: 27.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1563, allocations: 4 kB / 0.6367 GB, free: 27.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.1567, allocations: 301.4 kB / 0.637 GB, free: 27.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.1569, allocations: 0.6965 MB / 0.6376 GB, free: 26.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.1571, allocations: 35.94 kB / 0.6377 GB, free: 26.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.1571, allocations: 19.42 kB / 0.6377 GB, free: 26.39 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1571, allocations: 0 / 0.6377 GB, free: 26.39 MB / 442.7 MB Notification: Performance of Templates: time 0.002975/0.1601, allocations: 1.028 MB / 0.6387 GB, free: 25.37 MB / 442.7 MB 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)