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.001204/0.001203, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001378/0.001378, allocations: 196 kB / 17.34 MB, free: 5.719 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7069/0.7069, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.88 kB / 0.5577 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 76.17 MB / 0.6321 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002409/0.1439, allocations: 1.527 MB / 0.6336 GB, free: 2.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004155/0.1444, allocations: 184.3 kB / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.1444, allocations: 0 / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.1444, allocations: 0 / 0.6337 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.1445, allocations: 7.922 kB / 0.6338 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.1448, allocations: 47.83 kB / 0.6338 GB, free: 2.727 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.1449, allocations: 39.84 kB / 0.6338 GB, free: 2.688 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.1449, allocations: 19.98 kB / 0.6339 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.145, allocations: 11.94 kB / 0.6339 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.145, allocations: 19.92 kB / 0.6339 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.145, allocations: 4 kB / 0.6339 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1452, allocations: 51.94 kB / 0.6339 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.1452, allocations: 11.98 kB / 0.6339 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.1452, allocations: 11.94 kB / 0.634 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1453, allocations: 71.72 kB / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1454, allocations: 0 / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1454, allocations: 4 kB / 0.634 GB, free: 2.484 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1454, allocations: 0 / 0.634 GB, free: 2.484 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.0004352/0.1458, allocations: 351.4 kB / 0.6344 GB, free: 2.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1459, allocations: 16.02 kB / 0.6344 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.1459, allocations: 0.9375 kB / 0.6344 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.146, allocations: 168.3 kB / 0.6345 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.146, allocations: 4.375 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.146, allocations: 4.375 kB / 0.6346 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1462, allocations: 70.2 kB / 0.6346 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1462, allocations: 192 / 0.6346 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.1463, allocations: 3.938 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1463, allocations: 3.938 kB / 0.6346 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1465, allocations: 47.95 kB / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.1468, allocations: 276.7 kB / 0.6349 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1471, allocations: 66.47 kB / 0.635 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/0.1472, allocations: 28.84 kB / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.1474, allocations: 170.2 kB / 0.6352 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1474, allocations: 30.56 kB / 0.6352 GB, free: 1.066 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.1474, allocations: 7.984 kB / 0.6352 GB, free: 1.059 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003504/0.1478, allocations: 89.64 kB / 0.6353 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.1478, allocations: 51.41 kB / 0.6354 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.1479, allocations: 109.8 kB / 0.6355 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1479, allocations: 25.7 kB / 0.6355 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.148, allocations: 88.12 kB / 0.6356 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.148, allocations: 11.84 kB / 0.6356 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.148, allocations: 21.72 kB / 0.6356 GB, free: 0.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.1481, allocations: 318.8 kB / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.1482, allocations: 15.98 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.1483, allocations: 19.98 kB / 0.6359 GB, free: 276 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1485, allocations: 44.81 kB / 0.636 GB, free: 228 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1485, allocations: 4 kB / 0.636 GB, free: 224 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002018/0.1487, allocations: 81.5 kB / 0.6361 GB, free: 136 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1487, allocations: 4 kB / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1487, allocations: 7.984 kB / 0.6361 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1488, allocations: 0 / 0.6361 GB, free: 124 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.1488, allocations: 11.94 kB / 0.6361 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1488, allocations: 3.984 kB / 0.6361 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.1489, allocations: 8 kB / 0.6361 GB, free: 100 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.1489, allocations: 4 kB / 0.6361 GB, free: 96 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 7.996e-05/0.149, allocations: 113.8 kB / 0.6362 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.149, allocations: 7.984 kB / 0.6362 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.1493, allocations: 81.55 kB / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1493, allocations: 0 / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1493, allocations: 0 / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1493, allocations: 4 kB / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1495, allocations: 169.7 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1495, allocations: 4 kB / 0.6365 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.1496, allocations: 7.984 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1496, allocations: 7.938 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1496, allocations: 7.938 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1496, allocations: 0 / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1496, allocations: 0 / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1499, allocations: 179.3 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.1499, allocations: 81.05 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.1499, allocations: 4.422 kB / 0.6367 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.15, allocations: 3.984 kB / 0.6367 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1501, allocations: 8 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.1501, allocations: 0 / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.155e-05/0.1501, allocations: 95.56 kB / 0.6368 GB, free: 15.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1501, allocations: 0 / 0.6368 GB, free: 15.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.1504, allocations: 20 kB / 0.6369 GB, free: 15.21 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.0001623/0.1505, allocations: 111.2 kB / 0.637 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1508, allocations: 51.89 kB / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1508, allocations: 0 / 0.637 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.1509, allocations: 23.97 kB / 0.637 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1512, allocations: 9.344 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.1515, allocations: 121.5 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1517, allocations: 0.6807 MB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.939e-05/0.1518, allocations: 4 kB / 0.6378 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.1518, allocations: 15.42 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1518, allocations: 3.938 kB / 0.6379 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Templates: time 0.003043/0.1548, allocations: 0.9761 MB / 0.6388 GB, free: 13.16 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)