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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001116/0.001117, allocations: 194.9 kB / 16.14 MB, free: 6.703 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9175/0.9175, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.001201, allocations: 68.41 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1419, allocations: 80.93 MB / 0.5838 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002352/0.1442, allocations: 1.581 MB / 0.5854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004226/0.1447, allocations: 188.3 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.1447, allocations: 0 / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.1447, allocations: 0 / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.842e-05/0.1448, allocations: 3.938 kB / 0.5855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.145, allocations: 35.95 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.1451, allocations: 35.86 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.1452, allocations: 15.98 kB / 0.5856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.1452, allocations: 11.92 kB / 0.5856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.1453, allocations: 27.91 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1453, allocations: 0 / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.1454, allocations: 43.97 kB / 0.5857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.1454, allocations: 8 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.1454, allocations: 19.91 kB / 0.5857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.1456, allocations: 59.78 kB / 0.5858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1456, allocations: 0 / 0.5858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1456, allocations: 0 / 0.5858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1456, allocations: 3.938 kB / 0.5858 GB, free: 2.863 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.000414/0.146, allocations: 355.7 kB / 0.5861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1461, allocations: 12.03 kB / 0.5861 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.1461, allocations: 38.73 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.1461, allocations: 4.844 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.1462, allocations: 168.3 kB / 0.5863 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1462, allocations: 384 / 0.5863 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1463, allocations: 8.375 kB / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1465, allocations: 62.2 kB / 0.5864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1465, allocations: 3.938 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1465, allocations: 8 kB / 0.5864 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1465, allocations: 4 kB / 0.5864 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1467, allocations: 43.95 kB / 0.5865 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1471, allocations: 280.6 kB / 0.5867 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.1474, allocations: 58.53 kB / 0.5868 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.1475, allocations: 24.91 kB / 0.5868 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.1477, allocations: 174.3 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.1477, allocations: 30.56 kB / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1477, allocations: 0 / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000365/0.1481, allocations: 93.58 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.1481, allocations: 55.41 kB / 0.5872 GB, free: 1.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.1482, allocations: 113.8 kB / 0.5873 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1482, allocations: 25.7 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.1483, allocations: 99.97 kB / 0.5874 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.1483, allocations: 3.906 kB / 0.5874 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.1483, allocations: 13.72 kB / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.1484, allocations: 326.8 kB / 0.5877 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.293e-05/0.1485, allocations: 19.98 kB / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.359e-05/0.1486, allocations: 15.98 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1488, allocations: 48.75 kB / 0.5878 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1488, allocations: 0 / 0.5878 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002177/0.149, allocations: 77.66 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1491, allocations: 7.984 kB / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1491, allocations: 0 / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1491, allocations: 0 / 0.5879 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.1492, allocations: 8 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1492, allocations: 3.984 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.1492, allocations: 8 kB / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1493, allocations: 4 kB / 0.5879 GB, free: 444 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 6.502e-05/0.1493, allocations: 117.8 kB / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1494, allocations: 11.89 kB / 0.588 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.1496, allocations: 81.48 kB / 0.5881 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1496, allocations: 8.312 kB / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1497, allocations: 0 / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1497, allocations: 0 / 0.5881 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1498, allocations: 169.6 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1498, allocations: 0 / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.129e-05/0.1499, allocations: 19.97 kB / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1499, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1499, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1499, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1499, allocations: 0 / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1502, allocations: 179.4 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.1502, allocations: 81.11 kB / 0.5885 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1503, allocations: 4 kB / 0.5885 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.1504, allocations: 7.984 kB / 0.5885 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1504, allocations: 0 / 0.5885 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1504, allocations: 4 kB / 0.5885 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.1505, allocations: 95.5 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1505, allocations: 0 / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002671/0.1507, allocations: 27.84 kB / 0.5887 GB, free: 15.54 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.0005486/0.1513, allocations: 0.7202 MB / 0.5894 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1515, allocations: 47.89 kB / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1515, allocations: 0 / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1517, allocations: 27.98 kB / 0.5894 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.1519, allocations: 7.984 kB / 0.5894 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1532, allocations: 1.301 MB / 0.5907 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.1535, allocations: 0.6849 MB / 0.5914 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.264e-05/0.1535, allocations: 7.938 kB / 0.5914 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.1535, allocations: 15.42 kB / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1536, allocations: 4 kB / 0.5914 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.1639, allocations: 1.694 MB / 0.5931 GB, free: 11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.1641, allocations: 184.9 kB / 0.5932 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/1.892, allocations: 7.922 kB / 0.5933 GB, free: 10.73 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)