Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") translateModel(IDEAS.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007554/0.007554, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.753/0.753, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003255, allocations: 8 kB / 0.504 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4295, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001748/0.4313, allocations: 1.25 MB / 0.5849 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005187/0.4318, allocations: 181.3 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.4319, allocations: 2.75 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.4319, allocations: 4.547 kB / 0.5851 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.4319, allocations: 0.5625 kB / 0.5851 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.4322, allocations: 42.84 kB / 0.5851 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.4323, allocations: 39.64 kB / 0.5851 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.4324, allocations: 16.84 kB / 0.5852 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.4325, allocations: 7.938 kB / 0.5852 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.4325, allocations: 16.45 kB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.4325, allocations: 2.656 kB / 0.5852 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.4327, allocations: 45.55 kB / 0.5852 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.4327, allocations: 6.859 kB / 0.5852 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.4327, allocations: 38.95 kB / 0.5853 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.4329, allocations: 61.86 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4329, allocations: 0.9375 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4329, allocations: 0 / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.4329, allocations: 0 / 0.5853 GB, free: 2.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000419/0.4333, allocations: 356.3 kB / 0.5857 GB, free: 2.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4334, allocations: 9.125 kB / 0.5857 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.4334, allocations: 12.56 kB / 0.5857 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.89e-05/0.4335, allocations: 171.4 kB / 0.5859 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.4335, allocations: 5.844 kB / 0.5859 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.4336, allocations: 6.938 kB / 0.5859 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.4338, allocations: 70.16 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4338, allocations: 1.5 kB / 0.5859 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4338, allocations: 3.938 kB / 0.5859 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4338, allocations: 1.859 kB / 0.5859 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.434, allocations: 56.97 kB / 0.586 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.4344, allocations: 281.4 kB / 0.5863 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.4348, allocations: 69.75 kB / 0.5863 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.4349, allocations: 35.41 kB / 0.5864 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/0.4351, allocations: 166.1 kB / 0.5865 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.4351, allocations: 37.17 kB / 0.5866 GB, free: 1.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.4351, allocations: 0 / 0.5866 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004438/0.4356, allocations: 111.7 kB / 0.5867 GB, free: 1.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.4356, allocations: 56.86 kB / 0.5867 GB, free: 1.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.4357, allocations: 107.1 kB / 0.5868 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.4357, allocations: 25.7 kB / 0.5868 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.4357, allocations: 87.16 kB / 0.5869 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.4358, allocations: 5.688 kB / 0.5869 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.4358, allocations: 15.8 kB / 0.587 GB, free: 1.305 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.4358, allocations: 317.9 kB / 0.5873 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.4359, allocations: 32.78 kB / 0.5873 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.436, allocations: 21.03 kB / 0.5873 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.4362, allocations: 60.44 kB / 0.5874 GB, free: 0.957 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4362, allocations: 0 / 0.5874 GB, free: 0.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002344/0.4365, allocations: 87.61 kB / 0.5874 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4365, allocations: 9.25 kB / 0.5875 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.4365, allocations: 4.812 kB / 0.5875 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4365, allocations: 0.7031 kB / 0.5875 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.4366, allocations: 14 kB / 0.5875 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4366, allocations: 0 / 0.5875 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.4367, allocations: 13.3 kB / 0.5875 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4367, allocations: 1.703 kB / 0.5875 GB, free: 0.9023 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.995e-05/0.4368, allocations: 116.7 kB / 0.5876 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.4368, allocations: 5.75 kB / 0.5876 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.4371, allocations: 89.98 kB / 0.5877 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4371, allocations: 0.6562 kB / 0.5877 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4371, allocations: 1.562 kB / 0.5877 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4371, allocations: 4 kB / 0.5877 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.4373, allocations: 173.7 kB / 0.5879 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4373, allocations: 4.719 kB / 0.5879 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.882e-05/0.4374, allocations: 13.48 kB / 0.5879 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4374, allocations: 0.7969 kB / 0.5879 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.4374, allocations: 4.844 kB / 0.5879 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4374, allocations: 1.938 kB / 0.5879 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4374, allocations: 4 kB / 0.5879 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.4377, allocations: 188.2 kB / 0.5881 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.4377, allocations: 79.61 kB / 0.5881 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4377, allocations: 0 / 0.5881 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.4378, allocations: 13.11 kB / 0.5882 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.4379, allocations: 9.453 kB / 0.5882 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.4379, allocations: 1.953 kB / 0.5882 GB, free: 264 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.194e-05/0.4379, allocations: 87.69 kB / 0.5883 GB, free: 184 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4379, allocations: 0 / 0.5883 GB, free: 184 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.4382, allocations: 19.05 kB / 0.5883 GB, free: 180 kB / 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: 2 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001808/0.4384, allocations: 123.2 kB / 0.5884 GB, free: 72 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.4386, allocations: 60.17 kB / 0.5884 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4387, allocations: 1.375 kB / 0.5884 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.4388, allocations: 25.16 kB / 0.5885 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.4391, allocations: 12.17 kB / 0.5885 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.4394, allocations: 135.4 kB / 0.5886 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.4398, allocations: 0.6827 MB / 0.5893 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.4398, allocations: 3.562 kB / 0.5893 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.4399, allocations: 14.95 kB / 0.5893 GB, free: 15.21 MB / 446.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4399, allocations: 4 kB / 0.5893 GB, free: 15.21 MB / 446.1 MB Notification: Performance of Templates: time 0.003893/0.4438, allocations: 0.8693 MB / 0.5901 GB, free: 15.12 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)