Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001229, allocations: 183.3 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 403.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 101.8 kB / 484.3 MB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 55.92 kB / 0.5619 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1301, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001811/0.1319, allocations: 0.6464 MB / 0.6408 GB, free: 6.141 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000384/0.1323, allocations: 115.6 kB / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.178e-05/0.1324, allocations: 0 / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.1324, allocations: 0 / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.308e-06/0.1324, allocations: 0 / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1327, allocations: 23.98 kB / 0.6409 GB, free: 6.004 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1328, allocations: 63.91 kB / 0.641 GB, free: 5.941 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.103e-05/0.1328, allocations: 0 / 0.641 GB, free: 5.941 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.1329, allocations: 23.98 kB / 0.641 GB, free: 5.918 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.1329, allocations: 31.89 kB / 0.6411 GB, free: 5.887 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1329, allocations: 8 kB / 0.6411 GB, free: 5.879 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.133, allocations: 35.97 kB / 0.6411 GB, free: 5.844 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.1331, allocations: 19.97 kB / 0.6411 GB, free: 5.824 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.1331, allocations: 27.91 kB / 0.6411 GB, free: 5.797 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1333, allocations: 67.84 kB / 0.6412 GB, free: 5.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1333, allocations: 0 / 0.6412 GB, free: 5.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1333, allocations: 0 / 0.6412 GB, free: 5.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1333, allocations: 0 / 0.6412 GB, free: 5.73 MB / 442.7 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.0004769/0.1338, allocations: 379.4 kB / 0.6416 GB, free: 5.309 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1338, allocations: 15.97 kB / 0.6416 GB, free: 5.293 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1339, allocations: 8.938 kB / 0.6416 GB, free: 5.285 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/0.1339, allocations: 164.6 kB / 0.6418 GB, free: 5.086 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.1342, allocations: 281.6 kB / 0.642 GB, free: 4.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1342, allocations: 4.375 kB / 0.642 GB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1345, allocations: 82.14 kB / 0.6421 GB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1345, allocations: 7.938 kB / 0.6421 GB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1345, allocations: 3.984 kB / 0.6421 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1345, allocations: 4 kB / 0.6421 GB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.1348, allocations: 139.7 kB / 0.6423 GB, free: 4.508 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.135, allocations: 177.6 kB / 0.6424 GB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.1353, allocations: 90.53 kB / 0.6425 GB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.1355, allocations: 45.16 kB / 0.6426 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1356, allocations: 3.984 kB / 0.6426 GB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1356, allocations: 46.44 kB / 0.6426 GB, free: 4.082 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1356, allocations: 0 / 0.6426 GB, free: 4.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005155/0.1361, allocations: 149.5 kB / 0.6427 GB, free: 3.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1362, allocations: 55.41 kB / 0.6428 GB, free: 3.863 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.22e-05/0.1362, allocations: 93.84 kB / 0.6429 GB, free: 3.762 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1362, allocations: 29.7 kB / 0.6429 GB, free: 3.727 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.371e-05/0.1363, allocations: 80.14 kB / 0.643 GB, free: 3.645 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.1363, allocations: 31.47 kB / 0.643 GB, free: 3.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1364, allocations: 25.7 kB / 0.643 GB, free: 3.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1365, allocations: 322.8 kB / 0.6434 GB, free: 3.258 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1366, allocations: 35.91 kB / 0.6434 GB, free: 3.223 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1368, allocations: 31.98 kB / 0.6434 GB, free: 3.191 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.137, allocations: 68.81 kB / 0.6435 GB, free: 3.121 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.137, allocations: 0 / 0.6435 GB, free: 3.121 MB / 442.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003305/0.1374, allocations: 118.2 kB / 0.6436 GB, free: 3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1374, allocations: 11.92 kB / 0.6436 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1374, allocations: 0 / 0.6436 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1374, allocations: 4 kB / 0.6436 GB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1376, allocations: 23.98 kB / 0.6436 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1376, allocations: 0 / 0.6436 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.1377, allocations: 19.83 kB / 0.6437 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1377, allocations: 4 kB / 0.6437 GB, free: 2.938 MB / 442.7 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.298e-05/0.1378, allocations: 119.1 kB / 0.6438 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.1378, allocations: 11.92 kB / 0.6438 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.1378, allocations: 7.969 kB / 0.6438 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1378, allocations: 0 / 0.6438 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1379, allocations: 0 / 0.6438 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1379, allocations: 4 kB / 0.6438 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.138, allocations: 185.5 kB / 0.644 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.138, allocations: 0 / 0.644 GB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1381, allocations: 23.97 kB / 0.644 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.1381, allocations: 3.938 kB / 0.644 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1382, allocations: 4 kB / 0.644 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1382, allocations: 0 / 0.644 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1382, allocations: 0 / 0.644 GB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.1389, allocations: 0.7294 MB / 0.6447 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.1389, allocations: 85.09 kB / 0.6448 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1389, allocations: 0 / 0.6448 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.139, allocations: 12 kB / 0.6448 GB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.1391, allocations: 7.984 kB / 0.6448 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1391, allocations: 7.984 kB / 0.6448 GB, free: 1.609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.238e-05/0.1391, allocations: 75.28 kB / 0.6449 GB, free: 1.535 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1391, allocations: 3.938 kB / 0.6449 GB, free: 1.531 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.1394, allocations: 24 kB / 0.6449 GB, free: 1.508 MB / 442.7 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.0001787/0.1396, allocations: 123.1 kB / 0.645 GB, free: 1.375 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.14, allocations: 87.81 kB / 0.6451 GB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.14, allocations: 0 / 0.6451 GB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1401, allocations: 51.91 kB / 0.6452 GB, free: 1.238 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.1403, allocations: 4 kB / 0.6452 GB, free: 1.234 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.1408, allocations: 309.4 kB / 0.6455 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1411, allocations: 0.6848 MB / 0.6461 GB, free: 188 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.1412, allocations: 39.95 kB / 0.6462 GB, free: 148 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.1413, allocations: 23.42 kB / 0.6462 GB, free: 124 kB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1413, allocations: 0 / 0.6462 GB, free: 124 kB / 442.7 MB Notification: Performance of Templates: time 0.003025/0.1443, allocations: 0.9877 MB / 0.6472 GB, free: 15.14 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)