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.001115/0.001115, allocations: 116.5 kB / 17.04 MB, free: 6.133 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.001096/0.001096, allocations: 199 kB / 17.98 MB, free: 5.23 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.3 MB / 407.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.95 kB / 0.5582 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 76.17 MB / 0.6326 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002435/0.1311, allocations: 1.526 MB / 0.6341 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004363/0.1316, allocations: 180.2 kB / 0.6343 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.1316, allocations: 0 / 0.6343 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.1317, allocations: 0 / 0.6343 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.1317, allocations: 3.938 kB / 0.6343 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.132, allocations: 43.89 kB / 0.6343 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.1321, allocations: 47.83 kB / 0.6344 GB, free: 2.672 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.1322, allocations: 12 kB / 0.6344 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.208e-05/0.1322, allocations: 19.92 kB / 0.6344 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.08e-05/0.1323, allocations: 23.86 kB / 0.6344 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1323, allocations: 4 kB / 0.6344 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1324, allocations: 51.94 kB / 0.6345 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.1324, allocations: 4 kB / 0.6345 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.1325, allocations: 19.88 kB / 0.6345 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1326, allocations: 67.78 kB / 0.6345 GB, free: 2.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1326, allocations: 4 kB / 0.6345 GB, free: 2.469 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1326, allocations: 0 / 0.6345 GB, free: 2.469 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1326, allocations: 0 / 0.6345 GB, free: 2.469 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.0004717/0.1331, allocations: 355.4 kB / 0.6349 GB, free: 2.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1332, allocations: 8.031 kB / 0.6349 GB, free: 2.062 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1332, allocations: 4.938 kB / 0.6349 GB, free: 2.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1333, allocations: 168.3 kB / 0.6351 GB, free: 1.855 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1333, allocations: 4.375 kB / 0.6351 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.1334, allocations: 384 / 0.6351 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1336, allocations: 66.22 kB / 0.6351 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1336, allocations: 4.125 kB / 0.6351 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1336, allocations: 11.94 kB / 0.6351 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1336, allocations: 0 / 0.6351 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.1338, allocations: 39.95 kB / 0.6352 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1342, allocations: 284.7 kB / 0.6355 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1345, allocations: 58.48 kB / 0.6355 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1346, allocations: 28.89 kB / 0.6355 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/0.1349, allocations: 174.1 kB / 0.6357 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1349, allocations: 30.56 kB / 0.6357 GB, free: 1.055 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1349, allocations: 4 kB / 0.6357 GB, free: 1.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003877/0.1353, allocations: 93.62 kB / 0.6358 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.1353, allocations: 51.41 kB / 0.6359 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.1354, allocations: 113.8 kB / 0.636 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1354, allocations: 29.64 kB / 0.636 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.1355, allocations: 88.14 kB / 0.6361 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.1355, allocations: 7.906 kB / 0.6361 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.1356, allocations: 17.7 kB / 0.6361 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.1357, allocations: 318.8 kB / 0.6364 GB, free: 300 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.1358, allocations: 19.98 kB / 0.6364 GB, free: 280 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.035e-05/0.1359, allocations: 19.97 kB / 0.6365 GB, free: 260 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.136, allocations: 49.08 kB / 0.6365 GB, free: 208 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.136, allocations: 4 kB / 0.6365 GB, free: 204 kB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002136/0.1363, allocations: 77.56 kB / 0.6366 GB, free: 120 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1363, allocations: 4 kB / 0.6366 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1363, allocations: 0 / 0.6366 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1363, allocations: 4 kB / 0.6366 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.885e-05/0.1364, allocations: 15.86 kB / 0.6366 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1364, allocations: 4 kB / 0.6366 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.1365, allocations: 15.98 kB / 0.6366 GB, free: 76 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1365, allocations: 0 / 0.6366 GB, free: 76 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 8.974e-05/0.1366, allocations: 117.8 kB / 0.6367 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1366, allocations: 0 / 0.6367 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1369, allocations: 81.55 kB / 0.6368 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1369, allocations: 0 / 0.6368 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1369, allocations: 0 / 0.6368 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1369, allocations: 4 kB / 0.6368 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.1371, allocations: 173.7 kB / 0.637 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1371, allocations: 0 / 0.637 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.1372, allocations: 15.92 kB / 0.637 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1372, allocations: 0 / 0.637 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1372, allocations: 0 / 0.637 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1372, allocations: 3.938 kB / 0.637 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1372, allocations: 0 / 0.637 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1375, allocations: 179.3 kB / 0.6372 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.1375, allocations: 89.05 kB / 0.6373 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1375, allocations: 0 / 0.6373 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.1376, allocations: 7.984 kB / 0.6373 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.1377, allocations: 7.984 kB / 0.6373 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1377, allocations: 0 / 0.6373 GB, free: 15.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.574e-05/0.1377, allocations: 83.28 kB / 0.6374 GB, free: 15.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1377, allocations: 0 / 0.6374 GB, free: 15.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.138, allocations: 28 kB / 0.6374 GB, free: 15.19 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.0001605/0.1381, allocations: 111.2 kB / 0.6375 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1384, allocations: 47.89 kB / 0.6375 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1384, allocations: 0 / 0.6375 GB, free: 15.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.1385, allocations: 23.97 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.1388, allocations: 9.5 kB / 0.6376 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.1391, allocations: 155.2 kB / 0.6377 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1393, allocations: 0.6807 MB / 0.6384 GB, free: 14.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.1393, allocations: 11.44 kB / 0.6384 GB, free: 14.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.775e-06/0.1393, allocations: 0 / 0.6384 GB, free: 14.09 MB / 494.1 MB Notification: Performance of Templates: time 0.002283/0.1416, allocations: 0.9769 MB / 0.6393 GB, free: 13.11 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)