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.000911/0.0009111, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005708/0.005708, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.335/1.335, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8573/0.8573, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003075, allocations: 8.656 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1309, allocations: 82.3 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001417/0.1324, allocations: 1.245 MB / 0.5893 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.1328, allocations: 188.3 kB / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.1328, allocations: 0 / 0.5895 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.262e-05/0.1329, allocations: 4 kB / 0.5895 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.1329, allocations: 7.922 kB / 0.5895 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1331, allocations: 31.97 kB / 0.5895 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.1332, allocations: 31.86 kB / 0.5895 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.289e-05/0.1333, allocations: 19.97 kB / 0.5896 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.367e-05/0.1333, allocations: 8 kB / 0.5896 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.518e-05/0.1333, allocations: 15.92 kB / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.1334, allocations: 4 kB / 0.5896 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.502e-05/0.1335, allocations: 55.88 kB / 0.5896 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1335, allocations: 4 kB / 0.5896 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.1335, allocations: 33.64 kB / 0.5897 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1336, allocations: 59.83 kB / 0.5897 GB, free: 0.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.1336, allocations: 0 / 0.5897 GB, free: 0.793 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1336, allocations: 4 kB / 0.5897 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1337, allocations: 3.938 kB / 0.5897 GB, free: 0.7852 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.0003798/0.134, allocations: 355.7 kB / 0.5901 GB, free: 396 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1341, allocations: 8.031 kB / 0.5901 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/0.1341, allocations: 34.75 kB / 0.5901 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.904e-05/0.1341, allocations: 0.9375 kB / 0.5901 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.879e-05/0.1342, allocations: 176.2 kB / 0.5903 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1342, allocations: 4.375 kB / 0.5903 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.1343, allocations: 4.375 kB / 0.5903 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1344, allocations: 66.23 kB / 0.5904 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1345, allocations: 7.938 kB / 0.5904 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1345, allocations: 7.969 kB / 0.5904 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1345, allocations: 4 kB / 0.5904 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.1347, allocations: 55.94 kB / 0.5904 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003168/0.135, allocations: 288.6 kB / 0.5907 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.1353, allocations: 62.53 kB / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1354, allocations: 32.91 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.1356, allocations: 166.2 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.1357, allocations: 30.56 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1357, allocations: 0 / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003767/0.136, allocations: 117.6 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1361, allocations: 51.41 kB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.1361, allocations: 109.8 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1362, allocations: 25.7 kB / 0.5913 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1362, allocations: 84.14 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.1362, allocations: 15.89 kB / 0.5914 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.1363, allocations: 21.59 kB / 0.5914 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.194e-05/0.1363, allocations: 314.8 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.1364, allocations: 27.97 kB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.1365, allocations: 23.98 kB / 0.5917 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1367, allocations: 60.75 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1367, allocations: 0 / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002205/0.137, allocations: 89.56 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.137, allocations: 8 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.137, allocations: 0 / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.137, allocations: 0 / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.1371, allocations: 11.98 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1371, allocations: 4 kB / 0.5919 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.1372, allocations: 11.98 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.1372, allocations: 0 / 0.5919 GB, free: 14.28 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 (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.616e-05/0.1372, allocations: 117.8 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1373, allocations: 0 / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.1375, allocations: 101.5 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1376, allocations: 0 / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1376, allocations: 0 / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1376, allocations: 384 / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1377, allocations: 169.6 kB / 0.5923 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1377, allocations: 0 / 0.5923 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-05/0.1378, allocations: 11.98 kB / 0.5923 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1378, allocations: 4 kB / 0.5923 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1378, allocations: 3.984 kB / 0.5923 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1378, allocations: 4 kB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1378, allocations: 0 / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1381, allocations: 191.3 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.1381, allocations: 85.11 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1382, allocations: 3.984 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.1382, allocations: 4 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1383, allocations: 7.984 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1383, allocations: 4 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.1383, allocations: 91.58 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1384, allocations: 0 / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002439/0.1386, allocations: 31.88 kB / 0.5927 GB, free: 13.36 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.000513/0.1391, allocations: 0.728 MB / 0.5934 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1394, allocations: 63.89 kB / 0.5935 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1394, allocations: 0 / 0.5935 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.1395, allocations: 35.97 kB / 0.5935 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1397, allocations: 3.938 kB / 0.5935 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.141, allocations: 1.326 MB / 0.5948 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.1412, allocations: 0.6809 MB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.1412, allocations: 8 kB / 0.5955 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.1413, allocations: 15.42 kB / 0.5955 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1413, allocations: 0 / 0.5955 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.115/2.256, allocations: 1.636 MB / 0.5971 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/2.257, allocations: 174.1 kB / 0.5973 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/3.999, allocations: 4 kB / 0.5973 GB, free: 8.605 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)