Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008158/0.008158, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.001919/0.00192, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7991/0.7991, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 64.09 kB / 0.5851 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1756, allocations: 80.93 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003117/0.1788, allocations: 1.518 MB / 0.6656 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005869/0.1794, allocations: 184.2 kB / 0.6658 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.152e-05/0.1795, allocations: 4 kB / 0.6658 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.1795, allocations: 7.922 kB / 0.6658 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.1797, allocations: 3.938 kB / 0.6658 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1801, allocations: 55.88 kB / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.735e-05/0.1802, allocations: 27.92 kB / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1803, allocations: 15.98 kB / 0.6659 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.1803, allocations: 19.92 kB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.1804, allocations: 23.92 kB / 0.666 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1804, allocations: 4 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1805, allocations: 43.95 kB / 0.666 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.1806, allocations: 11.98 kB / 0.666 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.1806, allocations: 19.86 kB / 0.666 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1808, allocations: 59.84 kB / 0.6661 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1808, allocations: 0 / 0.6661 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.866e-06/0.1808, allocations: 0 / 0.6661 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.1808, allocations: 0 / 0.6661 GB, free: 4.254 MB / 0.4981 GB 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.0005222/0.1814, allocations: 358.3 kB / 0.6664 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1814, allocations: 13.11 kB / 0.6665 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.1815, allocations: 34.73 kB / 0.6665 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1815, allocations: 4.938 kB / 0.6665 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.1817, allocations: 177 kB / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.1817, allocations: 384 / 0.6667 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.1817, allocations: 4.375 kB / 0.6667 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.1819, allocations: 62.22 kB / 0.6667 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1819, allocations: 3.938 kB / 0.6667 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.182, allocations: 4 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.182, allocations: 4 kB / 0.6667 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.1822, allocations: 43.95 kB / 0.6668 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.1826, allocations: 280.7 kB / 0.6671 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.183, allocations: 62.53 kB / 0.6671 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1831, allocations: 24.91 kB / 0.6671 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.1833, allocations: 170.2 kB / 0.6673 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1834, allocations: 30.56 kB / 0.6673 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1834, allocations: 0 / 0.6673 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003977/0.1838, allocations: 101.5 kB / 0.6674 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1838, allocations: 55.41 kB / 0.6675 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.1839, allocations: 105.8 kB / 0.6676 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1839, allocations: 29.7 kB / 0.6676 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.184, allocations: 88.12 kB / 0.6677 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.184, allocations: 7.844 kB / 0.6677 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.184, allocations: 17.72 kB / 0.6677 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1841, allocations: 322.8 kB / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.52e-05/0.1842, allocations: 19.98 kB / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.1843, allocations: 19.98 kB / 0.6681 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1845, allocations: 48.75 kB / 0.6681 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1845, allocations: 4 kB / 0.6681 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002176/0.1847, allocations: 81.97 kB / 0.6682 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1848, allocations: 7.984 kB / 0.6682 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1848, allocations: 0 / 0.6682 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1848, allocations: 0 / 0.6682 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.784e-05/0.1849, allocations: 11.98 kB / 0.6682 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1849, allocations: 320 / 0.6682 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.531e-05/0.185, allocations: 7.906 kB / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.185, allocations: 4 kB / 0.6682 GB, free: 1.82 MB / 0.4981 GB 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 8.106e-05/0.1851, allocations: 117.7 kB / 0.6683 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1851, allocations: 7.984 kB / 0.6683 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.1854, allocations: 85.48 kB / 0.6684 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1854, allocations: 4 kB / 0.6684 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1854, allocations: 0 / 0.6684 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1854, allocations: 0 / 0.6684 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1856, allocations: 169.6 kB / 0.6686 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1856, allocations: 0 / 0.6686 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.1857, allocations: 15.98 kB / 0.6686 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1857, allocations: 0 / 0.6686 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1857, allocations: 0 / 0.6686 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1857, allocations: 0 / 0.6686 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1857, allocations: 3.984 kB / 0.6686 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.186, allocations: 179.3 kB / 0.6688 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.186, allocations: 85.05 kB / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.186, allocations: 4 kB / 0.6689 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.1861, allocations: 7.984 kB / 0.6689 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.1862, allocations: 4 kB / 0.6689 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1862, allocations: 4 kB / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.095e-05/0.1862, allocations: 87.27 kB / 0.669 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1862, allocations: 0 / 0.669 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002371/0.1865, allocations: 16 kB / 0.669 GB, free: 0.9414 MB / 0.4981 GB 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.0006114/0.1871, allocations: 0.7294 MB / 0.6697 GB, free: 192 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1873, allocations: 47.89 kB / 0.6697 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1873, allocations: 0 / 0.6697 GB, free: 144 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.1875, allocations: 31.92 kB / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.1877, allocations: 11.92 kB / 0.6698 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1892, allocations: 1.299 MB / 0.671 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1896, allocations: 0.6846 MB / 0.6717 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.1896, allocations: 12.12 kB / 0.6717 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.1897, allocations: 19.42 kB / 0.6717 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1897, allocations: 0 / 0.6717 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.2085, allocations: 1.926 MB / 0.6736 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/7.609, allocations: 7.938 kB / 0.6736 GB, free: 12.11 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)