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.7805/0.7805, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001019, allocations: 188.7 kB / 169.7 MB, free: 1.73 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.818/1.818, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0009001/0.0009002, allocations: 94.02 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.45e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1385, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.47/0.6085, allocations: 103.2 MB / 0.7289 GB, free: 10.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.6088, allocations: 73.58 kB / 0.729 GB, free: 10.15 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004058/0.6129, allocations: 1.362 MB / 0.7303 GB, free: 8.934 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6129, allocations: 4 kB / 0.7303 GB, free: 8.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.6129, allocations: 4 kB / 0.7303 GB, free: 8.926 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.0004219/0.6133, allocations: 350.3 kB / 0.7307 GB, free: 8.543 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.6134, allocations: 12.03 kB / 0.7307 GB, free: 8.531 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.6135, allocations: 8.484 kB / 0.7307 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.6136, allocations: 166.1 kB / 0.7308 GB, free: 8.324 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.6136, allocations: 0 / 0.7308 GB, free: 8.324 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.6137, allocations: 11.94 kB / 0.7309 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.6138, allocations: 44.62 kB / 0.7309 GB, free: 8.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6138, allocations: 0 / 0.7309 GB, free: 8.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6138, allocations: 7.875 kB / 0.7309 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6138, allocations: 0 / 0.7309 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.6139, allocations: 23.47 kB / 0.7309 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.6144, allocations: 282.4 kB / 0.7312 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.6146, allocations: 44.28 kB / 0.7312 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.6147, allocations: 19.98 kB / 0.7313 GB, free: 7.879 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.6151, allocations: 412.5 kB / 0.7317 GB, free: 7.387 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.6151, allocations: 30.56 kB / 0.7317 GB, free: 7.348 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.6151, allocations: 0 / 0.7317 GB, free: 7.348 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002137/0.6154, allocations: 67.98 kB / 0.7318 GB, free: 7.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.6154, allocations: 51.41 kB / 0.7318 GB, free: 7.219 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.191e-05/0.6155, allocations: 100.8 kB / 0.7319 GB, free: 7.121 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.6155, allocations: 25.7 kB / 0.7319 GB, free: 7.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.6156, allocations: 88.12 kB / 0.732 GB, free: 7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.6156, allocations: 7.656 kB / 0.732 GB, free: 6.996 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.6156, allocations: 3.938 kB / 0.732 GB, free: 6.992 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6157, allocations: 310.8 kB / 0.7323 GB, free: 6.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.6157, allocations: 11.44 kB / 0.7323 GB, free: 6.672 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.6158, allocations: 14.72 kB / 0.7323 GB, free: 6.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.6158, allocations: 11.17 kB / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6158, allocations: 0 / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.768e-05/0.6159, allocations: 55.53 kB / 0.7324 GB, free: 6.598 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6159, allocations: 7.938 kB / 0.7324 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.6159, allocations: 0 / 0.7324 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.616, allocations: 3.953 kB / 0.7324 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.6161, allocations: 15.98 kB / 0.7324 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.6161, allocations: 4.312 kB / 0.7324 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.6161, allocations: 4 kB / 0.7324 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.6162, allocations: 7.984 kB / 0.7324 GB, free: 6.555 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 6.583e-05/0.6162, allocations: 104.3 kB / 0.7325 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.6163, allocations: 0 / 0.7325 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/0.6164, allocations: 60.95 kB / 0.7326 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6164, allocations: 7.922 kB / 0.7326 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6164, allocations: 7.953 kB / 0.7326 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6164, allocations: 0 / 0.7326 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.6166, allocations: 168.6 kB / 0.7328 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6166, allocations: 3.938 kB / 0.7328 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.6167, allocations: 15.98 kB / 0.7328 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6167, allocations: 0 / 0.7328 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.6167, allocations: 0 / 0.7328 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6167, allocations: 0 / 0.7328 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6167, allocations: 0 / 0.7328 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.6169, allocations: 154.8 kB / 0.7329 GB, free: 5.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.6169, allocations: 84.17 kB / 0.733 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.617, allocations: 0 / 0.733 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.33e-05/0.6171, allocations: 7.984 kB / 0.733 GB, free: 5.883 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.6171, allocations: 7.984 kB / 0.733 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.6171, allocations: 0 / 0.733 GB, free: 5.875 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.703e-05/0.6172, allocations: 90.36 kB / 0.7331 GB, free: 5.789 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6172, allocations: 4 kB / 0.7331 GB, free: 5.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000238/0.6174, allocations: 26.3 kB / 0.7332 GB, free: 5.762 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.0002282/0.6177, allocations: 134.4 kB / 0.7333 GB, free: 5.621 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.6178, allocations: 22.19 kB / 0.7333 GB, free: 5.605 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6178, allocations: 0 / 0.7333 GB, free: 5.605 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.313e-05/0.6178, allocations: 11.38 kB / 0.7333 GB, free: 5.598 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.618, allocations: 10.34 kB / 0.7333 GB, free: 5.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.6182, allocations: 80.28 kB / 0.7334 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.6185, allocations: 0.6809 MB / 0.7341 GB, free: 4.789 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.319e-05/0.6185, allocations: 4.422 kB / 0.7341 GB, free: 4.785 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.6185, allocations: 11.42 kB / 0.7341 GB, free: 4.773 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6185, allocations: 4 kB / 0.7341 GB, free: 4.77 MB / 490.7 MB Notification: Performance of Templates: time 0.002799/0.6213, allocations: 0.8369 MB / 0.7349 GB, free: 3.941 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)