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.0009433/0.0009433, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001133/0.001133, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9448/0.9448, allocations: 135.3 MB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 12.7 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1688, allocations: 82.3 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001725/0.1706, allocations: 1.241 MB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004377/0.1711, allocations: 164.4 kB / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.1711, allocations: 0 / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.1711, allocations: 3.938 kB / 0.5888 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.1712, allocations: 7.922 kB / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1715, allocations: 35.95 kB / 0.5889 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.1716, allocations: 39.86 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.1717, allocations: 7.984 kB / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.1717, allocations: 11.98 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.1718, allocations: 15.92 kB / 0.5889 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1718, allocations: 7.938 kB / 0.5889 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1719, allocations: 39.95 kB / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.1719, allocations: 3.984 kB / 0.589 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.172, allocations: 33.64 kB / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.1721, allocations: 43.92 kB / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1721, allocations: 4 kB / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1721, allocations: 0 / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1721, allocations: 0 / 0.5891 GB, free: 1.199 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.0004586/0.1726, allocations: 351.5 kB / 0.5894 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1726, allocations: 12.03 kB / 0.5894 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.1727, allocations: 34.55 kB / 0.5894 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.1727, allocations: 7.906 kB / 0.5895 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1728, allocations: 171 kB / 0.5896 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1729, allocations: 3.938 kB / 0.5896 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.1729, allocations: 8 kB / 0.5896 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1731, allocations: 73.59 kB / 0.5897 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1731, allocations: 0 / 0.5897 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.1731, allocations: 0 / 0.5897 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1731, allocations: 0 / 0.5897 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.1733, allocations: 55.95 kB / 0.5898 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.1737, allocations: 280.7 kB / 0.59 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.174, allocations: 70.47 kB / 0.5901 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1742, allocations: 28.89 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002073/0.1744, allocations: 170.2 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1744, allocations: 38.55 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1744, allocations: 0 / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003766/0.1748, allocations: 109.6 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.1748, allocations: 59.34 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.876e-05/0.1749, allocations: 109.8 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.175, allocations: 25.7 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.175, allocations: 88.12 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.175, allocations: 11.97 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.175, allocations: 0 / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1751, allocations: 314.8 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.1752, allocations: 27.97 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.782e-05/0.1753, allocations: 23.98 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.1754, allocations: 23.98 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1754, allocations: 4 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002113/0.1756, allocations: 89.55 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1757, allocations: 4 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1757, allocations: 4.312 kB / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1757, allocations: 0 / 0.5912 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.1758, allocations: 23.86 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1758, allocations: 0 / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.1759, allocations: 11.95 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1759, allocations: 7.969 kB / 0.5912 GB, free: 14.74 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/0.176, allocations: 113.8 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.176, allocations: 3.938 kB / 0.5913 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.1763, allocations: 93.55 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1763, allocations: 0 / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1763, allocations: 0 / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1763, allocations: 4 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1765, allocations: 165.6 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1765, allocations: 4 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.1766, allocations: 19.92 kB / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1766, allocations: 0 / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1766, allocations: 0 / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.1766, allocations: 4 kB / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1766, allocations: 0 / 0.5916 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1769, allocations: 187.4 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.1769, allocations: 77.53 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1769, allocations: 8 kB / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.177, allocations: 11.98 kB / 0.5919 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.1771, allocations: 7.984 kB / 0.5919 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.1771, allocations: 0 / 0.5919 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.1771, allocations: 91.28 kB / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1771, allocations: 0 / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000241/0.1774, allocations: 12 kB / 0.592 GB, free: 13.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005727/0.178, allocations: 0.7513 MB / 0.5927 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1782, allocations: 51.95 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1782, allocations: 4 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.406e-05/0.1783, allocations: 35.91 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1786, allocations: 4 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.1794, allocations: 454.4 kB / 0.5932 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1797, allocations: 0.6887 MB / 0.5939 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.1797, allocations: 4 kB / 0.5939 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.1798, allocations: 15.42 kB / 0.5939 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1798, allocations: 4 kB / 0.5939 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.1907, allocations: 1.603 MB / 0.5955 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.1909, allocations: 182.2 kB / 0.5957 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.833, allocations: 0 / 0.5957 GB, free: 10.03 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/linux/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) Environment - environmentSimulation: