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.001144/0.001144, allocations: 108 kB / 15.6 MB, free: 128 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.001085/0.001085, allocations: 196 kB / 16.53 MB, free: 6.672 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8991/0.8991, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 68.36 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1345, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002524/0.137, allocations: 1.513 MB / 0.5859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000418/0.1375, allocations: 181.9 kB / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.1375, allocations: 0 / 0.5861 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.1376, allocations: 3.938 kB / 0.5861 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.1376, allocations: 15.92 kB / 0.5861 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.1379, allocations: 39.89 kB / 0.5862 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.553e-05/0.138, allocations: 43.84 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.1381, allocations: 15.98 kB / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.1381, allocations: 11.98 kB / 0.5862 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.257e-05/0.1382, allocations: 19.92 kB / 0.5863 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1382, allocations: 7.938 kB / 0.5863 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1383, allocations: 51.95 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1383, allocations: 4 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.1383, allocations: 15.92 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.1385, allocations: 67.84 kB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1385, allocations: 0 / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1385, allocations: 3.938 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1385, allocations: 0 / 0.5864 GB, free: 2.465 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.0004449/0.139, allocations: 347.7 kB / 0.5867 GB, free: 2.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.139, allocations: 8.031 kB / 0.5868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.139, allocations: 50.73 kB / 0.5868 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1391, allocations: 4.844 kB / 0.5868 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1392, allocations: 164.4 kB / 0.587 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1392, allocations: 4.312 kB / 0.587 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1392, allocations: 8.375 kB / 0.587 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1394, allocations: 62.2 kB / 0.587 GB, free: 1.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1394, allocations: 3.938 kB / 0.587 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1394, allocations: 4 kB / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1395, allocations: 0 / 0.587 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.1397, allocations: 47.95 kB / 0.5871 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.14, allocations: 284.6 kB / 0.5874 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.1403, allocations: 54.53 kB / 0.5874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1405, allocations: 28.91 kB / 0.5874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.1407, allocations: 170.2 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.1407, allocations: 34.56 kB / 0.5876 GB, free: 1.004 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1407, allocations: 0 / 0.5876 GB, free: 1.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000391/0.1411, allocations: 89.58 kB / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.1412, allocations: 63.39 kB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.1412, allocations: 105.9 kB / 0.5879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1413, allocations: 25.7 kB / 0.5879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.1413, allocations: 99.97 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.1413, allocations: 11.84 kB / 0.588 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.1414, allocations: 13.72 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1415, allocations: 322.8 kB / 0.5883 GB, free: 240 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.535e-05/0.1416, allocations: 19.98 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.1417, allocations: 16.17 kB / 0.5884 GB, free: 204 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1419, allocations: 52.89 kB / 0.5884 GB, free: 148 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1419, allocations: 0 / 0.5884 GB, free: 148 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000225/0.1421, allocations: 81.58 kB / 0.5885 GB, free: 60 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1421, allocations: 4 kB / 0.5885 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.1421, allocations: 4 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1421, allocations: 0 / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1422, allocations: 11.98 kB / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1422, allocations: 0 / 0.5885 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.796e-05/0.1423, allocations: 4 kB / 0.5885 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1423, allocations: 0 / 0.5885 GB, free: 36 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 0.0001457/0.1425, allocations: 121.8 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1425, allocations: 3.906 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.1428, allocations: 89.48 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1428, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1428, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1428, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.143, allocations: 173.7 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.143, allocations: 4 kB / 0.5889 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.1431, allocations: 11.98 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1431, allocations: 0 / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1431, allocations: 8 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1431, allocations: 0 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1431, allocations: 320 / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.1434, allocations: 175.4 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.1434, allocations: 77.11 kB / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1434, allocations: 0 / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.149e-05/0.1435, allocations: 15.92 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1436, allocations: 4 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1436, allocations: 4 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.1436, allocations: 91.25 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.443e-06/0.1436, allocations: 0 / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002537/0.1439, allocations: 31.78 kB / 0.5893 GB, free: 15.14 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.0005559/0.1445, allocations: 0.7202 MB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1447, allocations: 48.08 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1447, allocations: 3.938 kB / 0.59 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1448, allocations: 24.08 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1451, allocations: 14.17 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1465, allocations: 1.288 MB / 0.5913 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1467, allocations: 0.6768 MB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.1468, allocations: 11.94 kB / 0.592 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.1468, allocations: 19.42 kB / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1468, allocations: 0 / 0.592 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1644, allocations: 1.88 MB / 0.5939 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.496, allocations: 11.09 kB / 0.5939 GB, free: 10.39 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)