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.001168/0.001168, allocations: 112.6 kB / 17.08 MB, free: 6.016 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.001246/0.001246, allocations: 191.1 kB / 18.01 MB, free: 5.098 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.407/1.407, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7624/0.7624, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.59 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1373, allocations: 76.17 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Binomial): time 0.001693/0.139, allocations: 0.5748 MB / 0.6333 GB, free: 3.805 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.1394, allocations: 107.9 kB / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.1395, allocations: 0 / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.1395, allocations: 0 / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-06/0.1395, allocations: 0 / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.1399, allocations: 35.91 kB / 0.6335 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.14, allocations: 63.92 kB / 0.6335 GB, free: 3.602 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.1401, allocations: 7.984 kB / 0.6335 GB, free: 3.594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.1401, allocations: 27.98 kB / 0.6336 GB, free: 3.566 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.1402, allocations: 31.89 kB / 0.6336 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1402, allocations: 4 kB / 0.6336 GB, free: 3.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1404, allocations: 43.97 kB / 0.6336 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.1404, allocations: 27.95 kB / 0.6337 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.1405, allocations: 15.92 kB / 0.6337 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.1406, allocations: 63.84 kB / 0.6337 GB, free: 3.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1407, allocations: 0 / 0.6337 GB, free: 3.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1407, allocations: 0 / 0.6337 GB, free: 3.383 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1407, allocations: 3.984 kB / 0.6337 GB, free: 3.379 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.000518/0.1412, allocations: 375.5 kB / 0.6341 GB, free: 2.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1412, allocations: 8.031 kB / 0.6341 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.1413, allocations: 12.84 kB / 0.6341 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.541e-05/0.1414, allocations: 172.2 kB / 0.6343 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.1417, allocations: 277.6 kB / 0.6346 GB, free: 2.402 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.1417, allocations: 8.375 kB / 0.6346 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.142, allocations: 82.12 kB / 0.6346 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.142, allocations: 3.938 kB / 0.6346 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.142, allocations: 0 / 0.6346 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.142, allocations: 8 kB / 0.6347 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.1424, allocations: 131.8 kB / 0.6348 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.1426, allocations: 173.7 kB / 0.6349 GB, free: 1.949 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1429, allocations: 102.5 kB / 0.635 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.143, allocations: 44.83 kB / 0.6351 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1431, allocations: 3.984 kB / 0.6351 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.015e-05/0.1431, allocations: 38.5 kB / 0.6351 GB, free: 1.742 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1431, allocations: 0 / 0.6351 GB, free: 1.742 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005111/0.1437, allocations: 157.4 kB / 0.6353 GB, free: 1.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1437, allocations: 51.41 kB / 0.6353 GB, free: 1.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.461e-05/0.1437, allocations: 89.86 kB / 0.6354 GB, free: 1.422 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1438, allocations: 29.7 kB / 0.6354 GB, free: 1.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.1438, allocations: 80.36 kB / 0.6355 GB, free: 1.305 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.1439, allocations: 31.55 kB / 0.6355 GB, free: 1.273 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.1439, allocations: 37.64 kB / 0.6356 GB, free: 1.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.144, allocations: 310.8 kB / 0.6359 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1441, allocations: 35.97 kB / 0.6359 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1443, allocations: 31.97 kB / 0.6359 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.1445, allocations: 76.81 kB / 0.636 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-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.0003214/0.1449, allocations: 122.1 kB / 0.6361 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1449, allocations: 7.938 kB / 0.6361 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1449, allocations: 4 kB / 0.6361 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1449, allocations: 0 / 0.6361 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1451, allocations: 23.98 kB / 0.6362 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1451, allocations: 0 / 0.6362 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.1452, allocations: 11.92 kB / 0.6362 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.1452, allocations: 4 kB / 0.6362 GB, free: 0.5977 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 7.904e-05/0.1453, allocations: 117.8 kB / 0.6363 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.1453, allocations: 7.844 kB / 0.6363 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.1453, allocations: 15.97 kB / 0.6363 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1453, allocations: 4 kB / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1453, allocations: 0 / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1453, allocations: 0 / 0.6363 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1455, allocations: 177.6 kB / 0.6365 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1455, allocations: 0 / 0.6365 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.1456, allocations: 27.91 kB / 0.6365 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1456, allocations: 3.938 kB / 0.6365 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1456, allocations: 8 kB / 0.6365 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1456, allocations: 0 / 0.6365 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1456, allocations: 0 / 0.6365 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.146, allocations: 149 kB / 0.6367 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.146, allocations: 88.95 kB / 0.6368 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1461, allocations: 7.938 kB / 0.6368 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.1461, allocations: 7.984 kB / 0.6368 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.1462, allocations: 11.92 kB / 0.6368 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1462, allocations: 8 kB / 0.6368 GB, free: 15.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.296e-05/0.1462, allocations: 75.28 kB / 0.6369 GB, free: 15.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1462, allocations: 7.938 kB / 0.6369 GB, free: 15.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1465, allocations: 23.98 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.0001696/0.1466, allocations: 111.2 kB / 0.637 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.147, allocations: 87.86 kB / 0.6371 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.147, allocations: 7.938 kB / 0.6371 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.1471, allocations: 43.97 kB / 0.6371 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1473, allocations: 5.719 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.0003769/0.1477, allocations: 190.7 kB / 0.6373 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1479, allocations: 0.6846 MB / 0.638 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.148, allocations: 19.42 kB / 0.638 GB, free: 14.56 MB / 494.1 MB Notification: Performance of SimCode: time 1.944e-06/0.148, allocations: 0 / 0.638 GB, free: 14.56 MB / 494.1 MB Notification: Performance of Templates: time 0.002693/0.1507, allocations: 1.318 MB / 0.6393 GB, free: 13.24 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)