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.001488/0.001488, 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.001725/0.001725, allocations: 193.2 kB / 16.13 MB, free: 6.656 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8483/0.8483, allocations: 135.1 MB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.41 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1355, allocations: 80.93 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001614/0.1371, allocations: 0.6281 MB / 0.5844 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000357/0.1375, allocations: 111.6 kB / 0.5845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.186e-05/0.1375, allocations: 0 / 0.5845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.1375, allocations: 0 / 0.5845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.1375, allocations: 4 kB / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1378, allocations: 35.91 kB / 0.5846 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.1379, allocations: 63.92 kB / 0.5846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.138, allocations: 0 / 0.5846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.138, allocations: 23.98 kB / 0.5847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.138, allocations: 23.95 kB / 0.5847 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.138, allocations: 7.938 kB / 0.5847 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1382, allocations: 39.97 kB / 0.5847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.1382, allocations: 23.95 kB / 0.5848 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1382, allocations: 19.92 kB / 0.5848 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1384, allocations: 75.84 kB / 0.5849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1384, allocations: 0 / 0.5849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1384, allocations: 0 / 0.5849 GB, free: 3.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.1384, allocations: 0 / 0.5849 GB, free: 3.832 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.000438/0.1388, allocations: 375.5 kB / 0.5852 GB, free: 3.414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1389, allocations: 15.97 kB / 0.5852 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.1389, allocations: 34.75 kB / 0.5853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.139, allocations: 8.938 kB / 0.5853 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.855e-05/0.1391, allocations: 172.5 kB / 0.5854 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.1393, allocations: 281.6 kB / 0.5857 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1393, allocations: 4.375 kB / 0.5857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.1396, allocations: 85.94 kB / 0.5858 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1396, allocations: 0 / 0.5858 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1396, allocations: 0 / 0.5858 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1396, allocations: 4 kB / 0.5858 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.1399, allocations: 131.8 kB / 0.5859 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.1401, allocations: 173.6 kB / 0.5861 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1404, allocations: 102.5 kB / 0.5862 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.1405, allocations: 45.16 kB / 0.5862 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1406, allocations: 4 kB / 0.5862 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1406, allocations: 38.44 kB / 0.5863 GB, free: 2.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1406, allocations: 0 / 0.5863 GB, free: 2.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005125/0.1411, allocations: 147.8 kB / 0.5864 GB, free: 2.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1412, allocations: 55.34 kB / 0.5865 GB, free: 1.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.351e-05/0.1412, allocations: 97.8 kB / 0.5866 GB, free: 1.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1412, allocations: 33.7 kB / 0.5866 GB, free: 1.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.298e-05/0.1413, allocations: 80.14 kB / 0.5867 GB, free: 1.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.1413, allocations: 35.45 kB / 0.5867 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.1414, allocations: 29.7 kB / 0.5867 GB, free: 1.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.1415, allocations: 310.8 kB / 0.587 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1416, allocations: 39.91 kB / 0.5871 GB, free: 1.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1417, allocations: 31.97 kB / 0.5871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.142, allocations: 76.81 kB / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.142, allocations: 0 / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003187/0.1423, allocations: 125.2 kB / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1423, allocations: 7.938 kB / 0.5873 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1424, allocations: 0 / 0.5873 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1424, allocations: 0 / 0.5873 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.1425, allocations: 27.97 kB / 0.5873 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1425, allocations: 0 / 0.5873 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.1426, allocations: 7.938 kB / 0.5873 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1426, allocations: 4 kB / 0.5873 GB, free: 1.008 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 7.665e-05/0.1427, allocations: 121.8 kB / 0.5874 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.1427, allocations: 7.844 kB / 0.5874 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.1428, allocations: 15.95 kB / 0.5875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1428, allocations: 4 kB / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1428, allocations: 0 / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1428, allocations: 0 / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1429, allocations: 177.6 kB / 0.5876 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1429, allocations: 0 / 0.5876 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.1431, allocations: 27.91 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1431, allocations: 7.938 kB / 0.5877 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1431, allocations: 4 kB / 0.5877 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1431, allocations: 3.984 kB / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1431, allocations: 0 / 0.5877 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.1435, allocations: 140.9 kB / 0.5878 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.1435, allocations: 88.98 kB / 0.5879 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.1435, allocations: 0 / 0.5879 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.1436, allocations: 15.98 kB / 0.5879 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.1437, allocations: 7.984 kB / 0.5879 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1437, allocations: 11.92 kB / 0.5879 GB, free: 292 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.309e-05/0.1437, allocations: 76.94 kB / 0.588 GB, free: 216 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1437, allocations: 0 / 0.588 GB, free: 216 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.1439, allocations: 20 kB / 0.588 GB, free: 196 kB / 494.1 MB 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.0006707/0.1446, allocations: 0.7061 MB / 0.5887 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.1449, allocations: 83.88 kB / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1449, allocations: 0 / 0.5888 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.1451, allocations: 51.89 kB / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.1452, allocations: 4 kB / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.1457, allocations: 212.3 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.1459, allocations: 0.6848 MB / 0.5897 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.1461, allocations: 35.97 kB / 0.5898 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.1461, allocations: 23.42 kB / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1461, allocations: 0 / 0.5898 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06371/0.2099, allocations: 1.842 MB / 0.5916 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.2101, allocations: 195.3 kB / 0.5918 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2, allocations: 0 / 0.5918 GB, free: 12.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)