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.001071/0.001071, allocations: 106 kB / 16.4 MB, free: 6.504 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.0011/0.0011, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7094/0.7094, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 69.89 kB / 0.5577 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1456, allocations: 76.17 MB / 0.6321 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001564/0.1472, allocations: 0.5747 MB / 0.6327 GB, free: 3.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.1476, allocations: 104 kB / 0.6328 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.1477, allocations: 0 / 0.6328 GB, free: 3.836 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.1477, allocations: 3.938 kB / 0.6328 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.1477, allocations: 0 / 0.6328 GB, free: 3.832 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.148, allocations: 43.89 kB / 0.6328 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.1482, allocations: 63.94 kB / 0.6329 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.1482, allocations: 4 kB / 0.6329 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.1482, allocations: 19.98 kB / 0.6329 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.1483, allocations: 31.89 kB / 0.6329 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.1483, allocations: 4 kB / 0.6329 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1484, allocations: 51.95 kB / 0.633 GB, free: 3.617 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.639e-05/0.1485, allocations: 23.95 kB / 0.633 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.1485, allocations: 19.92 kB / 0.633 GB, free: 3.574 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1487, allocations: 67.83 kB / 0.6331 GB, free: 3.508 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1487, allocations: 0 / 0.6331 GB, free: 3.508 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.44e-06/0.1487, allocations: 7.938 kB / 0.6331 GB, free: 3.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1487, allocations: 0 / 0.6331 GB, free: 3.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005721/0.1493, allocations: 375.5 kB / 0.6335 GB, free: 3.082 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1493, allocations: 12.03 kB / 0.6335 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1494, allocations: 8.844 kB / 0.6335 GB, free: 3.062 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1495, allocations: 164.3 kB / 0.6336 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.1498, allocations: 285.6 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.1498, allocations: 4.375 kB / 0.6339 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.15, allocations: 78.14 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.15, allocations: 3.938 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.15, allocations: 4 kB / 0.634 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1501, allocations: 0 / 0.634 GB, free: 2.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.1504, allocations: 143.7 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.1506, allocations: 173.7 kB / 0.6343 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.1509, allocations: 94.58 kB / 0.6344 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.151, allocations: 40.83 kB / 0.6344 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1511, allocations: 4 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1511, allocations: 30.56 kB / 0.6345 GB, free: 1.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1511, allocations: 0 / 0.6345 GB, free: 1.883 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005447/0.1517, allocations: 161.4 kB / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1517, allocations: 51.41 kB / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.1517, allocations: 89.86 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1518, allocations: 29.69 kB / 0.6348 GB, free: 1.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.1519, allocations: 80.36 kB / 0.6348 GB, free: 1.441 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.1519, allocations: 31.56 kB / 0.6349 GB, free: 1.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.152, allocations: 33.64 kB / 0.6349 GB, free: 1.371 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1521, allocations: 326.8 kB / 0.6352 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1523, allocations: 31.97 kB / 0.6353 GB, free: 1.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1524, allocations: 23.98 kB / 0.6353 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.1527, allocations: 80.75 kB / 0.6354 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1527, allocations: 0 / 0.6354 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003851/0.1531, allocations: 114.1 kB / 0.6355 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.1531, allocations: 17.64 kB / 0.6355 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1531, allocations: 3.984 kB / 0.6355 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1531, allocations: 0 / 0.6355 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.1533, allocations: 23.98 kB / 0.6355 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1533, allocations: 4 kB / 0.6355 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1534, allocations: 11.94 kB / 0.6355 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1534, allocations: 3.984 kB / 0.6355 GB, free: 0.7266 MB / 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.258e-05/0.1535, allocations: 117.8 kB / 0.6356 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.1535, allocations: 15.83 kB / 0.6357 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.1535, allocations: 7.969 kB / 0.6357 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1535, allocations: 0 / 0.6357 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1536, allocations: 8 kB / 0.6357 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1536, allocations: 4 kB / 0.6357 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1537, allocations: 173.6 kB / 0.6358 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1537, allocations: 0 / 0.6358 GB, free: 348 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1538, allocations: 31.97 kB / 0.6359 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1538, allocations: 3.938 kB / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1539, allocations: 0 / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1539, allocations: 0 / 0.6359 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1539, allocations: 4 kB / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.1542, allocations: 153 kB / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.741e-05/0.1543, allocations: 84.95 kB / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1543, allocations: 7.938 kB / 0.6361 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/0.1543, allocations: 0 / 0.6361 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.1544, allocations: 19.97 kB / 0.6361 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1544, allocations: 0 / 0.6361 GB, free: 4 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.1545, allocations: 75.28 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1545, allocations: 0 / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1547, allocations: 28 kB / 0.6362 GB, free: 15.9 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: 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 (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.0002373/0.1549, allocations: 115.2 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.1553, allocations: 91.81 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1553, allocations: 0 / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.1555, allocations: 51.89 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1556, allocations: 4 kB / 0.6365 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.156, allocations: 153 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1563, allocations: 0.6923 MB / 0.6373 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.1564, allocations: 35.97 kB / 0.6373 GB, free: 14.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.1565, allocations: 19.42 kB / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1565, allocations: 0 / 0.6374 GB, free: 14.69 MB / 494.1 MB Notification: Performance of Templates: time 0.003021/0.1595, allocations: 1.023 MB / 0.6384 GB, free: 13.67 MB / 494.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)