Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 105.2 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 189.2 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7406/0.7406, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.56 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1601, allocations: 76.18 MB / 0.6321 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002697/0.1629, allocations: 1.523 MB / 0.6336 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004637/0.1634, allocations: 184.2 kB / 0.6337 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.1634, allocations: 0 / 0.6337 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.1634, allocations: 0 / 0.6337 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.1635, allocations: 3.938 kB / 0.6337 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.1639, allocations: 47.88 kB / 0.6338 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.737e-05/0.164, allocations: 39.86 kB / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.1641, allocations: 11.98 kB / 0.6338 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.1641, allocations: 27.91 kB / 0.6339 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.1642, allocations: 19.92 kB / 0.6339 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1642, allocations: 4 kB / 0.6339 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1643, allocations: 43.97 kB / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1643, allocations: 11.97 kB / 0.6339 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.1643, allocations: 15.94 kB / 0.634 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1645, allocations: 67.72 kB / 0.634 GB, free: 2.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1645, allocations: 0 / 0.634 GB, free: 2.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.1645, allocations: 4 kB / 0.634 GB, free: 2.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1646, allocations: 0 / 0.634 GB, free: 2.496 MB / 478.1 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.0005068/0.1651, allocations: 363.4 kB / 0.6344 GB, free: 2.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1651, allocations: 8.031 kB / 0.6344 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1652, allocations: 0.9375 kB / 0.6344 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.1653, allocations: 168.3 kB / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1653, allocations: 384 / 0.6345 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1653, allocations: 4.375 kB / 0.6346 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1655, allocations: 62.22 kB / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1655, allocations: 192 / 0.6346 GB, free: 1.809 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1656, allocations: 11.94 kB / 0.6346 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1656, allocations: 4 kB / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.1658, allocations: 43.89 kB / 0.6347 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003843/0.1662, allocations: 280.7 kB / 0.6349 GB, free: 1.426 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.1665, allocations: 66.47 kB / 0.635 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.1666, allocations: 24.91 kB / 0.635 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.1668, allocations: 174.2 kB / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1669, allocations: 34.5 kB / 0.6352 GB, free: 1.074 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1669, allocations: 0 / 0.6352 GB, free: 1.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003847/0.1673, allocations: 89.64 kB / 0.6353 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1673, allocations: 59.39 kB / 0.6354 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.374e-05/0.1674, allocations: 113.8 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1674, allocations: 25.7 kB / 0.6355 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.1675, allocations: 80.14 kB / 0.6356 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1675, allocations: 11.91 kB / 0.6356 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1675, allocations: 17.66 kB / 0.6356 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1677, allocations: 326.7 kB / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.1678, allocations: 23.98 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.1678, allocations: 15.97 kB / 0.636 GB, free: 280 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.168, allocations: 49.09 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.168, allocations: 0 / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002188/0.1683, allocations: 81.55 kB / 0.6361 GB, free: 140 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1683, allocations: 8 kB / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1683, allocations: 0 / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1683, allocations: 0 / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.1684, allocations: 15.92 kB / 0.6361 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1684, allocations: 0 / 0.6361 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.1685, allocations: 4 kB / 0.6361 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1685, allocations: 4 kB / 0.6361 GB, free: 108 kB / 478.1 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,rea2Int.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.1686, allocations: 117.8 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.1686, allocations: 8 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.1689, allocations: 77.55 kB / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1689, allocations: 4 kB / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1689, allocations: 4 kB / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1689, allocations: 0 / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.1691, allocations: 169.6 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1691, allocations: 0 / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.1692, allocations: 11.98 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1692, allocations: 4 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1692, allocations: 3.938 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1692, allocations: 0 / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1692, allocations: 3.938 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1695, allocations: 175.3 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.1695, allocations: 85.05 kB / 0.6367 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.1695, allocations: 8 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.1696, allocations: 7.984 kB / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1697, allocations: 0 / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1697, allocations: 4 kB / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.9e-05/0.1698, allocations: 87.27 kB / 0.6368 GB, free: 15.24 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 0 / 0.6368 GB, free: 15.24 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.17, allocations: 16 kB / 0.6369 GB, free: 15.23 MB / 494.1 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 (rea2Int.y,bin.y) * 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 (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.0001681/0.1702, allocations: 115.3 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1704, allocations: 55.89 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1704, allocations: 0 / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.1705, allocations: 23.97 kB / 0.637 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1708, allocations: 9.5 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.1711, allocations: 125.5 kB / 0.6372 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.1713, allocations: 0.6846 MB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.398e-05/0.1714, allocations: 7.984 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.1714, allocations: 7.438 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1714, allocations: 0 / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of Templates: time 0.003361/0.1748, allocations: 0.982 MB / 0.6388 GB, free: 13.17 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.pipe 2>&1)