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.001659/0.001659, allocations: 115.7 kB / 17.08 MB, free: 5.969 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.001875/0.001875, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.733/0.733, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 65.8 kB / 0.5583 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1418, allocations: 76.17 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002684/0.1446, allocations: 1.531 MB / 0.6342 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004694/0.1451, allocations: 180.3 kB / 0.6344 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.1451, allocations: 0 / 0.6344 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.1452, allocations: 3.938 kB / 0.6344 GB, free: 2.695 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.1452, allocations: 4 kB / 0.6344 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003701/0.1456, allocations: 51.81 kB / 0.6345 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.257e-05/0.1457, allocations: 39.86 kB / 0.6345 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1458, allocations: 15.97 kB / 0.6345 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.1459, allocations: 15.94 kB / 0.6345 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.1459, allocations: 15.92 kB / 0.6345 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.1459, allocations: 4 kB / 0.6345 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1461, allocations: 55.94 kB / 0.6346 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1461, allocations: 8 kB / 0.6346 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.1461, allocations: 15.92 kB / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1463, allocations: 71.78 kB / 0.6347 GB, free: 2.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1463, allocations: 0 / 0.6347 GB, free: 2.402 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1463, allocations: 0 / 0.6347 GB, free: 2.402 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1463, allocations: 0 / 0.6347 GB, free: 2.402 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.0004806/0.1468, allocations: 351.4 kB / 0.635 GB, free: 2.008 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1468, allocations: 8.031 kB / 0.635 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.1469, allocations: 4.938 kB / 0.635 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.147, allocations: 172.3 kB / 0.6352 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.147, allocations: 4.375 kB / 0.6352 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.1471, allocations: 4.375 kB / 0.6352 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.1473, allocations: 66.16 kB / 0.6353 GB, free: 1.711 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1473, allocations: 4.125 kB / 0.6353 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1473, allocations: 7.938 kB / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1473, allocations: 0 / 0.6353 GB, free: 1.699 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1475, allocations: 51.94 kB / 0.6353 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.1479, allocations: 276.7 kB / 0.6356 GB, free: 1.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.1482, allocations: 62.47 kB / 0.6357 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1484, allocations: 24.91 kB / 0.6357 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.1486, allocations: 170.2 kB / 0.6358 GB, free: 1.027 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1486, allocations: 38.48 kB / 0.6359 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.1486, allocations: 0 / 0.6359 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.000396/0.149, allocations: 93.77 kB / 0.636 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.1491, allocations: 59.34 kB / 0.636 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.1492, allocations: 105.8 kB / 0.6361 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1492, allocations: 29.7 kB / 0.6362 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.1492, allocations: 92.12 kB / 0.6362 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.1493, allocations: 3.906 kB / 0.6362 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1493, allocations: 17.72 kB / 0.6363 GB, free: 0.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.1494, allocations: 314.8 kB / 0.6366 GB, free: 232 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1495, allocations: 23.97 kB / 0.6366 GB, free: 208 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-05/0.1496, allocations: 19.98 kB / 0.6366 GB, free: 188 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1498, allocations: 48.81 kB / 0.6366 GB, free: 136 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1498, allocations: 0 / 0.6366 GB, free: 136 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002223/0.15, allocations: 81.5 kB / 0.6367 GB, free: 48 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.15, allocations: 4 kB / 0.6367 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1501, allocations: 0 / 0.6367 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1501, allocations: 4 kB / 0.6367 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.1502, allocations: 11.98 kB / 0.6367 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1502, allocations: 4 kB / 0.6367 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.1502, allocations: 11.98 kB / 0.6368 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.1503, allocations: 0 / 0.6368 GB, free: 12 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.031e-05/0.1503, allocations: 109.8 kB / 0.6369 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.1504, allocations: 4 kB / 0.6369 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.1507, allocations: 85.55 kB / 0.6369 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1507, allocations: 7.984 kB / 0.637 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1507, allocations: 3.938 kB / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1507, allocations: 0 / 0.637 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.1509, allocations: 165.6 kB / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1509, allocations: 0 / 0.6371 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.151, allocations: 11.98 kB / 0.6371 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.151, allocations: 0 / 0.6371 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.151, allocations: 4 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.151, allocations: 0 / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.151, allocations: 7.875 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1513, allocations: 179.3 kB / 0.6373 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.1513, allocations: 85.05 kB / 0.6374 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1513, allocations: 0 / 0.6374 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.1514, allocations: 7.984 kB / 0.6374 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1515, allocations: 4 kB / 0.6374 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1515, allocations: 4 kB / 0.6374 GB, free: 15.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.964e-05/0.1516, allocations: 91.27 kB / 0.6375 GB, free: 15.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1516, allocations: 3.938 kB / 0.6375 GB, free: 15.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1518, allocations: 16 kB / 0.6375 GB, free: 15.13 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.0001792/0.152, allocations: 111.3 kB / 0.6376 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.1523, allocations: 48.23 kB / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1523, allocations: 0 / 0.6377 GB, free: 14.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1524, allocations: 36.05 kB / 0.6377 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1527, allocations: 7.875 kB / 0.6377 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.153, allocations: 153.4 kB / 0.6379 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1533, allocations: 0.6768 MB / 0.6385 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.1533, allocations: 11.44 kB / 0.6385 GB, free: 14.03 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1533, allocations: 0 / 0.6385 GB, free: 14.03 MB / 494.1 MB Notification: Performance of Templates: time 0.002562/0.1559, allocations: 0.989 MB / 0.6395 GB, free: 13.04 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)