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.001118/0.001118, allocations: 119.7 kB / 17.09 MB, free: 5.988 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.001216/0.001216, allocations: 192.7 kB / 18.02 MB, free: 5.07 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.308/1.308, allocations: 222.9 MB / 241.7 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.7547/0.7547, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 66.19 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1369, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001957/0.1389, allocations: 0.565 MB / 0.6333 GB, free: 3.809 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000431/0.1394, allocations: 103.9 kB / 0.6334 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.1394, allocations: 0 / 0.6334 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.1395, allocations: 0 / 0.6334 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.1395, allocations: 4 kB / 0.6334 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.1399, allocations: 43.88 kB / 0.6335 GB, free: 3.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.14, allocations: 67.88 kB / 0.6335 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/0.1401, allocations: 4 kB / 0.6335 GB, free: 3.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.1401, allocations: 23.98 kB / 0.6336 GB, free: 3.566 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.1402, allocations: 31.89 kB / 0.6336 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1402, allocations: 4 kB / 0.6336 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1404, allocations: 43.95 kB / 0.6336 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.175e-05/0.1404, allocations: 19.97 kB / 0.6337 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.1404, allocations: 19.92 kB / 0.6337 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1406, allocations: 75.81 kB / 0.6337 GB, free: 3.375 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1406, allocations: 0 / 0.6337 GB, free: 3.375 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1406, allocations: 4 kB / 0.6338 GB, free: 3.371 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1406, allocations: 0 / 0.6338 GB, free: 3.371 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.0005414/0.1412, allocations: 371.5 kB / 0.6341 GB, free: 2.957 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1412, allocations: 8.031 kB / 0.6341 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.1413, allocations: 12.83 kB / 0.6341 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1414, allocations: 172.3 kB / 0.6343 GB, free: 2.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.1417, allocations: 281.6 kB / 0.6346 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1417, allocations: 8.375 kB / 0.6346 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.142, allocations: 82.19 kB / 0.6346 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.142, allocations: 3.938 kB / 0.6346 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.142, allocations: 0 / 0.6346 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.142, allocations: 0 / 0.6346 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.1423, allocations: 131.8 kB / 0.6348 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.1425, allocations: 181.6 kB / 0.6349 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1428, allocations: 98.5 kB / 0.635 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.143, allocations: 44.83 kB / 0.6351 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.143, allocations: 8 kB / 0.6351 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.143, allocations: 30.56 kB / 0.6351 GB, free: 1.742 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.143, allocations: 0 / 0.6351 GB, free: 1.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005232/0.1436, allocations: 153.4 kB / 0.6353 GB, free: 1.586 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1436, allocations: 55.41 kB / 0.6353 GB, free: 1.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.1437, allocations: 89.86 kB / 0.6354 GB, free: 1.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1437, allocations: 25.7 kB / 0.6354 GB, free: 1.391 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.1437, allocations: 84.36 kB / 0.6355 GB, free: 1.305 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.1438, allocations: 35.55 kB / 0.6355 GB, free: 1.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.1438, allocations: 33.64 kB / 0.6356 GB, free: 1.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.144, allocations: 310.8 kB / 0.6359 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1441, allocations: 35.97 kB / 0.6359 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1442, allocations: 31.97 kB / 0.6359 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.1445, allocations: 77.41 kB / 0.636 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1445, allocations: 0 / 0.636 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003296/0.1448, allocations: 129.4 kB / 0.6361 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1449, allocations: 7.938 kB / 0.6361 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1449, allocations: 0 / 0.6361 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1449, allocations: 0 / 0.6361 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1451, allocations: 27.97 kB / 0.6362 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1451, allocations: 0 / 0.6362 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.1452, allocations: 7.938 kB / 0.6362 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1452, allocations: 4 kB / 0.6362 GB, free: 0.5938 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 0.0001019/0.1453, allocations: 117.8 kB / 0.6363 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.1453, allocations: 11.84 kB / 0.6363 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.1454, allocations: 11.97 kB / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1454, allocations: 4 kB / 0.6363 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1454, allocations: 0 / 0.6363 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1454, allocations: 0 / 0.6363 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.1456, allocations: 177.6 kB / 0.6365 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1456, allocations: 7.938 kB / 0.6365 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1457, allocations: 19.98 kB / 0.6365 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1457, allocations: 3.938 kB / 0.6365 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1457, allocations: 7.984 kB / 0.6365 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1457, allocations: 8 kB / 0.6365 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1457, allocations: 0 / 0.6365 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.1461, allocations: 133 kB / 0.6367 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1461, allocations: 84.95 kB / 0.6367 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1462, allocations: 19.92 kB / 0.6368 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.1462, allocations: 4 kB / 0.6368 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.1463, allocations: 11.92 kB / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1463, allocations: 15.98 kB / 0.6368 GB, free: 15.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.571e-05/0.1464, allocations: 75.28 kB / 0.6369 GB, free: 15.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1464, allocations: 0 / 0.6369 GB, free: 15.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.1466, allocations: 16 kB / 0.6369 GB, free: 15.77 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.0002029/0.1468, allocations: 121.7 kB / 0.637 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003255/0.1472, allocations: 87.81 kB / 0.6371 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1472, allocations: 0 / 0.6371 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.1473, allocations: 47.97 kB / 0.6371 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.1475, allocations: 11.64 kB / 0.6371 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.1479, allocations: 186.7 kB / 0.6373 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1482, allocations: 0.6807 MB / 0.638 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.1483, allocations: 23.42 kB / 0.638 GB, free: 14.57 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1483, allocations: 7.875 kB / 0.638 GB, free: 14.56 MB / 494.1 MB Notification: Performance of Templates: time 0.0031/0.1514, allocations: 1.323 MB / 0.6393 GB, free: 13.23 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)