Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.001468/0.001469, allocations: 108 kB / 15.61 MB, free: 152 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.001664/0.001664, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9188/0.9188, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68 kB / 0.5055 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1451, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001869/0.147, allocations: 0.5691 MB / 0.585 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003919/0.1474, allocations: 103.6 kB / 0.5851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.1475, allocations: 0 / 0.5851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.979e-05/0.1475, allocations: 7.875 kB / 0.5851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.04e-06/0.1475, allocations: 0 / 0.5851 GB, free: 3.777 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1479, allocations: 43.89 kB / 0.5852 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.148, allocations: 63.92 kB / 0.5853 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1481, allocations: 7.984 kB / 0.5853 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.1481, allocations: 19.98 kB / 0.5853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.1481, allocations: 27.89 kB / 0.5853 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.1482, allocations: 4 kB / 0.5853 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1483, allocations: 43.97 kB / 0.5853 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.1483, allocations: 23.95 kB / 0.5854 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.1484, allocations: 15.92 kB / 0.5854 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1485, allocations: 75.83 kB / 0.5855 GB, free: 3.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1485, allocations: 4 kB / 0.5855 GB, free: 3.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1485, allocations: 0 / 0.5855 GB, free: 3.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1486, allocations: 0 / 0.5855 GB, free: 3.453 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004879/0.149, allocations: 375.4 kB / 0.5858 GB, free: 3.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1491, allocations: 12.03 kB / 0.5858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.1492, allocations: 38.73 kB / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.1492, allocations: 8.938 kB / 0.5859 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.363e-05/0.1493, allocations: 168.5 kB / 0.586 GB, free: 2.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000259/0.1496, allocations: 277.6 kB / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1496, allocations: 8.375 kB / 0.5863 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1499, allocations: 85.94 kB / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1499, allocations: 4 kB / 0.5864 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1499, allocations: 0 / 0.5864 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1499, allocations: 4 kB / 0.5864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.1503, allocations: 131.8 kB / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.1505, allocations: 169.7 kB / 0.5867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.1508, allocations: 98.56 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.1509, allocations: 52.98 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.151, allocations: 7.984 kB / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.151, allocations: 34.5 kB / 0.5869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.151, allocations: 0 / 0.5869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005588/0.1516, allocations: 145.5 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1516, allocations: 55.34 kB / 0.5871 GB, free: 1.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.697e-05/0.1517, allocations: 89.86 kB / 0.5872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1517, allocations: 37.7 kB / 0.5872 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.1517, allocations: 80.14 kB / 0.5873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.1518, allocations: 35.45 kB / 0.5873 GB, free: 1.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.1519, allocations: 37.58 kB / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.152, allocations: 314.8 kB / 0.5876 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.1521, allocations: 27.98 kB / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.1523, allocations: 35.97 kB / 0.5877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.1526, allocations: 74.89 kB / 0.5878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1526, allocations: 4 kB / 0.5878 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000332/0.1529, allocations: 109.6 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.153, allocations: 7.938 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.153, allocations: 3.938 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.153, allocations: 4 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1531, allocations: 27.97 kB / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1532, allocations: 0 / 0.5879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.1532, allocations: 7.938 kB / 0.5879 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1533, allocations: 7.984 kB / 0.5879 GB, free: 0.6289 MB / 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: 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.464e-05/0.1533, allocations: 117.8 kB / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.1534, allocations: 7.844 kB / 0.5881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.1534, allocations: 15.97 kB / 0.5881 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1534, allocations: 0 / 0.5881 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1534, allocations: 0 / 0.5881 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1534, allocations: 3.984 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.1536, allocations: 177.6 kB / 0.5882 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1536, allocations: 0 / 0.5882 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.1537, allocations: 23.92 kB / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1537, allocations: 7.938 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1538, allocations: 7.984 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1538, allocations: 0 / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1538, allocations: 0 / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1541, allocations: 140.9 kB / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.1542, allocations: 92.97 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1542, allocations: 0 / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.249e-05/0.1543, allocations: 12 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.1543, allocations: 11.98 kB / 0.5885 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1544, allocations: 7.984 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.454e-05/0.1544, allocations: 79.22 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1544, allocations: 0 / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002252/0.1546, allocations: 20 kB / 0.5886 GB, free: 15.82 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: 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.0007205/0.1554, allocations: 0.7095 MB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.1557, allocations: 91.88 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1557, allocations: 0 / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1559, allocations: 47.91 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.1561, allocations: 14.28 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.1566, allocations: 210.5 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1569, allocations: 0.6807 MB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.157, allocations: 39.95 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1571, allocations: 23.42 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of SimCode: time 4.5e-07/0.1571, allocations: 0 / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.1742, allocations: 1.984 MB / 0.5923 GB, free: 12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.295, allocations: 3.375 kB / 0.5923 GB, free: 12 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)