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.001082/0.001082, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8831/0.8831, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 65.34 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1437, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002559/0.1463, allocations: 1.525 MB / 0.586 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004228/0.1468, allocations: 181.9 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.1468, allocations: 0 / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.1469, allocations: 3.938 kB / 0.5861 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.1469, allocations: 3.938 kB / 0.5861 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1472, allocations: 47.88 kB / 0.5862 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.542e-05/0.1473, allocations: 39.86 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.1474, allocations: 23.97 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.1474, allocations: 8 kB / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.1475, allocations: 23.86 kB / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1475, allocations: 4 kB / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1476, allocations: 51.94 kB / 0.5863 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.1476, allocations: 4 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.1476, allocations: 15.92 kB / 0.5863 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1478, allocations: 63.86 kB / 0.5864 GB, free: 2.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1478, allocations: 3.938 kB / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1478, allocations: 0 / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1478, allocations: 4 kB / 0.5864 GB, free: 2.449 MB / 494.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.0004168/0.1482, allocations: 351.7 kB / 0.5868 GB, free: 2.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1483, allocations: 8.031 kB / 0.5868 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.1483, allocations: 34.75 kB / 0.5868 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.1483, allocations: 8.844 kB / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1484, allocations: 164.4 kB / 0.587 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.1485, allocations: 8.312 kB / 0.587 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.1485, allocations: 4.375 kB / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1487, allocations: 62.23 kB / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1487, allocations: 7.922 kB / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1487, allocations: 4 kB / 0.587 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1487, allocations: 0 / 0.587 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1489, allocations: 47.94 kB / 0.5871 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.1492, allocations: 284.6 kB / 0.5874 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1495, allocations: 58.53 kB / 0.5874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.314e-05/0.1496, allocations: 24.91 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.1498, allocations: 166.2 kB / 0.5876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1499, allocations: 34.56 kB / 0.5876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.1499, allocations: 7.984 kB / 0.5876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000356/0.1502, allocations: 93.56 kB / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.1503, allocations: 55.41 kB / 0.5878 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.1503, allocations: 113.8 kB / 0.5879 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1504, allocations: 25.7 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.1504, allocations: 95.98 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.1504, allocations: 11.89 kB / 0.588 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.1505, allocations: 17.72 kB / 0.588 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.1505, allocations: 318.8 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.1506, allocations: 19.97 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.1507, allocations: 15.98 kB / 0.5884 GB, free: 188 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.1509, allocations: 48.81 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1509, allocations: 4 kB / 0.5884 GB, free: 132 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002034/0.1511, allocations: 73.59 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.1511, allocations: 8 kB / 0.5885 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1511, allocations: 0 / 0.5885 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1512, allocations: 0 / 0.5885 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.1512, allocations: 11.98 kB / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1512, allocations: 0 / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.1513, allocations: 7.984 kB / 0.5885 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.1513, allocations: 4 kB / 0.5885 GB, free: 20 kB / 494.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 8.033e-05/0.1514, allocations: 117.8 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.1514, allocations: 3.906 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.1517, allocations: 85.48 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1517, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1517, allocations: 3.984 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1517, allocations: 0 / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1519, allocations: 177.6 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1519, allocations: 0 / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.152, allocations: 11.98 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.152, allocations: 0 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.152, allocations: 4 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.152, allocations: 0 / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.152, allocations: 0 / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1522, allocations: 175.5 kB / 0.5891 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.412e-05/0.1523, allocations: 81.09 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1523, allocations: 4.359 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.1524, allocations: 4 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.1524, allocations: 7.984 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1524, allocations: 4 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.1525, allocations: 91.56 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1525, allocations: 3.938 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002374/0.1527, allocations: 31.84 kB / 0.5893 GB, free: 15.12 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.0005331/0.1533, allocations: 0.7241 MB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1535, allocations: 55.88 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1535, allocations: 0 / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.419e-05/0.1536, allocations: 23.98 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.1539, allocations: 9.312 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1551, allocations: 1.292 MB / 0.5913 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.1553, allocations: 0.6806 MB / 0.592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.1554, allocations: 4 kB / 0.592 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.1554, allocations: 15.44 kB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1554, allocations: 0 / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.329/1.485, allocations: 1.887 MB / 0.5939 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.5, allocations: 20.02 kB / 0.5939 GB, free: 10.37 MB / 0.4981 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)