Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.000916, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.294/1.294, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6602/0.6602, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 12 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 77.15 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.0005839/0.1296, allocations: 307 kB / 0.5571 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.1299, allocations: 83.81 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.43e-05/0.1299, allocations: 0 / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.1299, allocations: 4 kB / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.13, allocations: 0 / 0.5572 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.1302, allocations: 39.83 kB / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.461e-05/0.1303, allocations: 47.94 kB / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.319e-05/0.1304, allocations: 3.938 kB / 0.5573 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.333e-05/0.1304, allocations: 23.97 kB / 0.5573 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.1304, allocations: 23.97 kB / 0.5574 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1305, allocations: 0 / 0.5574 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.1306, allocations: 39.95 kB / 0.5574 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.1306, allocations: 19.97 kB / 0.5574 GB, free: 11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.1306, allocations: 33.64 kB / 0.5574 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.334e-05/0.1307, allocations: 43.94 kB / 0.5575 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1307, allocations: 0 / 0.5575 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1308, allocations: 4 kB / 0.5575 GB, free: 10.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1308, allocations: 3.938 kB / 0.5575 GB, free: 10.91 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004203/0.1312, allocations: 355.4 kB / 0.5578 GB, free: 10.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1312, allocations: 20 kB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1313, allocations: 7.906 kB / 0.5579 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/0.1313, allocations: 163.3 kB / 0.558 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.1316, allocations: 277 kB / 0.5583 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.1316, allocations: 4 kB / 0.5583 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1318, allocations: 93.52 kB / 0.5584 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1319, allocations: 0 / 0.5584 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1319, allocations: 0 / 0.5584 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1319, allocations: 4 kB / 0.5584 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.1322, allocations: 131.8 kB / 0.5585 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1324, allocations: 169.7 kB / 0.5587 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1327, allocations: 102.6 kB / 0.5588 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1327, allocations: 3.984 kB / 0.5588 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1327, allocations: 42.5 kB / 0.5588 GB, free: 9.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1327, allocations: 0 / 0.5588 GB, free: 9.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004983/0.1332, allocations: 149.5 kB / 0.559 GB, free: 9.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1333, allocations: 51.41 kB / 0.559 GB, free: 9.133 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.376e-05/0.1333, allocations: 89.86 kB / 0.5591 GB, free: 9.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.1333, allocations: 29.7 kB / 0.5591 GB, free: 9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.1334, allocations: 80.55 kB / 0.5592 GB, free: 8.914 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.1334, allocations: 35.55 kB / 0.5592 GB, free: 8.879 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/0.1334, allocations: 7.938 kB / 0.5592 GB, free: 8.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.1335, allocations: 310.8 kB / 0.5595 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1337, allocations: 35.97 kB / 0.5596 GB, free: 8.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1338, allocations: 31.97 kB / 0.5596 GB, free: 8.492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1339, allocations: 39.8 kB / 0.5596 GB, free: 8.457 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.134, allocations: 3.938 kB / 0.5596 GB, free: 8.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003136/0.1343, allocations: 113.5 kB / 0.5597 GB, free: 8.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1343, allocations: 13.66 kB / 0.5598 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1343, allocations: 4 kB / 0.5598 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.1343, allocations: 0 / 0.5598 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1345, allocations: 19.98 kB / 0.5598 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1345, allocations: 3.953 kB / 0.5598 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.1346, allocations: 11.92 kB / 0.5598 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.1346, allocations: 8 kB / 0.5598 GB, free: 8.277 MB / 430.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.662e-05/0.1347, allocations: 119.5 kB / 0.5599 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.1347, allocations: 7.906 kB / 0.5599 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.1347, allocations: 15.97 kB / 0.5599 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1347, allocations: 0 / 0.5599 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1347, allocations: 0 / 0.5599 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1348, allocations: 7.938 kB / 0.5599 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.1349, allocations: 177.6 kB / 0.5601 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1349, allocations: 0 / 0.5601 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.135, allocations: 23.97 kB / 0.5601 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.135, allocations: 4 kB / 0.5601 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.1351, allocations: 8 kB / 0.5602 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1351, allocations: 0 / 0.5602 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1351, allocations: 0 / 0.5602 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.1354, allocations: 148.9 kB / 0.5603 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.1354, allocations: 85.02 kB / 0.5604 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.1355, allocations: 4 kB / 0.5604 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.1355, allocations: 7.984 kB / 0.5604 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.1356, allocations: 7.984 kB / 0.5604 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1356, allocations: 11.98 kB / 0.5604 GB, free: 7.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.207e-05/0.1356, allocations: 75.28 kB / 0.5605 GB, free: 7.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1356, allocations: 4 kB / 0.5605 GB, free: 7.488 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1359, allocations: 16 kB / 0.5605 GB, free: 7.473 MB / 430.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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001694/0.136, allocations: 123.8 kB / 0.5606 GB, free: 7.344 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.1364, allocations: 87.81 kB / 0.5607 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1364, allocations: 0 / 0.5607 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.1365, allocations: 51.91 kB / 0.5607 GB, free: 7.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.97e-05/0.1366, allocations: 4 kB / 0.5608 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.137, allocations: 162.7 kB / 0.5609 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.1372, allocations: 0.6887 MB / 0.5616 GB, free: 6.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.1374, allocations: 35.97 kB / 0.5616 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.1374, allocations: 19.42 kB / 0.5616 GB, free: 6.25 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1374, allocations: 0 / 0.5616 GB, free: 6.25 MB / 430.1 MB Notification: Performance of Templates: time 0.002875/0.1403, allocations: 0.9416 MB / 0.5626 GB, free: 5.312 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)