Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_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.00101/0.00101, 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.001174/0.001174, allocations: 194.7 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7126/0.7126, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 64.69 kB / 0.5019 GB, free: 8.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1322, allocations: 80.2 MB / 0.5802 GB, free: 8.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002537/0.1347, allocations: 1.528 MB / 0.5817 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000419/0.1352, allocations: 178 kB / 0.5819 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.1352, allocations: 0 / 0.5819 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.1352, allocations: 3.938 kB / 0.5819 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.434e-05/0.1353, allocations: 7.938 kB / 0.5819 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1356, allocations: 51.88 kB / 0.5819 GB, free: 6.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.1356, allocations: 35.86 kB / 0.5819 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.1357, allocations: 15.98 kB / 0.582 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.1358, allocations: 15.97 kB / 0.582 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.1358, allocations: 23.86 kB / 0.582 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1358, allocations: 7.938 kB / 0.582 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1359, allocations: 47.97 kB / 0.5821 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.136, allocations: 7.984 kB / 0.5821 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.136, allocations: 15.92 kB / 0.5821 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.1361, allocations: 63.84 kB / 0.5821 GB, free: 6.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1361, allocations: 3.938 kB / 0.5821 GB, free: 6.723 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1361, allocations: 0 / 0.5821 GB, free: 6.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1362, allocations: 0 / 0.5821 GB, free: 6.723 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.0004146/0.1366, allocations: 355.7 kB / 0.5825 GB, free: 6.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1366, allocations: 8.031 kB / 0.5825 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1367, allocations: 42.73 kB / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.1367, allocations: 4.844 kB / 0.5825 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1368, allocations: 164.4 kB / 0.5827 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1368, allocations: 4.312 kB / 0.5827 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1368, allocations: 4.375 kB / 0.5827 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.137, allocations: 62.22 kB / 0.5828 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.137, allocations: 3.938 kB / 0.5828 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.137, allocations: 11.98 kB / 0.5828 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.137, allocations: 0 / 0.5828 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.1372, allocations: 39.95 kB / 0.5828 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.1376, allocations: 288.6 kB / 0.5831 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1379, allocations: 62.53 kB / 0.5831 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.394e-05/0.138, allocations: 24.91 kB / 0.5832 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.1382, allocations: 174.2 kB / 0.5833 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1382, allocations: 30.56 kB / 0.5834 GB, free: 5.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1382, allocations: 0 / 0.5834 GB, free: 5.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003723/0.1386, allocations: 93.58 kB / 0.5835 GB, free: 5.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.1386, allocations: 55.39 kB / 0.5835 GB, free: 5.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.1387, allocations: 109.9 kB / 0.5836 GB, free: 4.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1387, allocations: 25.7 kB / 0.5836 GB, free: 4.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.1388, allocations: 99.97 kB / 0.5837 GB, free: 4.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.1388, allocations: 4 kB / 0.5837 GB, free: 4.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.1388, allocations: 13.72 kB / 0.5837 GB, free: 4.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.1389, allocations: 326.8 kB / 0.5841 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.139, allocations: 19.98 kB / 0.5841 GB, free: 4.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/0.1391, allocations: 15.97 kB / 0.5841 GB, free: 4.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1393, allocations: 44.83 kB / 0.5841 GB, free: 4.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1393, allocations: 0 / 0.5841 GB, free: 4.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002094/0.1395, allocations: 89.48 kB / 0.5842 GB, free: 4.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1395, allocations: 4 kB / 0.5842 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1395, allocations: 0 / 0.5842 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1395, allocations: 0 / 0.5842 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.667e-05/0.1396, allocations: 19.92 kB / 0.5842 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1396, allocations: 0 / 0.5842 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.1397, allocations: 4 kB / 0.5842 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.1397, allocations: 0 / 0.5842 GB, free: 4.289 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: 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 7.24e-05/0.1398, allocations: 126.4 kB / 0.5844 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1398, allocations: 4 kB / 0.5844 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1401, allocations: 81.48 kB / 0.5845 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1401, allocations: 0 / 0.5845 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1401, allocations: 0 / 0.5845 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1401, allocations: 4.375 kB / 0.5845 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1402, allocations: 169.5 kB / 0.5846 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1402, allocations: 4 kB / 0.5846 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.1403, allocations: 11.98 kB / 0.5846 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1403, allocations: 4 kB / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1403, allocations: 0 / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1403, allocations: 0 / 0.5846 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1403, allocations: 3.984 kB / 0.5846 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1406, allocations: 171.4 kB / 0.5848 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.1406, allocations: 85.11 kB / 0.5849 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1407, allocations: 4 kB / 0.5849 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.1407, allocations: 7.922 kB / 0.5849 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.1408, allocations: 4 kB / 0.5849 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1408, allocations: 0 / 0.5849 GB, free: 3.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.724e-05/0.1408, allocations: 91.27 kB / 0.585 GB, free: 3.434 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1408, allocations: 3.938 kB / 0.585 GB, free: 3.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1411, allocations: 23.94 kB / 0.585 GB, free: 3.406 MB / 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: 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.0005219/0.1416, allocations: 0.7241 MB / 0.5857 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1418, allocations: 51.89 kB / 0.5858 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1418, allocations: 0 / 0.5858 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.1419, allocations: 27.98 kB / 0.5858 GB, free: 2.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.1422, allocations: 3.984 kB / 0.5858 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1435, allocations: 1.288 MB / 0.5871 GB, free: 1.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1437, allocations: 0.6807 MB / 0.5877 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.844e-05/0.1437, allocations: 7.938 kB / 0.5877 GB, free: 500 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.1438, allocations: 19.42 kB / 0.5877 GB, free: 480 kB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1438, allocations: 0 / 0.5877 GB, free: 480 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3462/0.49, allocations: 1.878 MB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.38, allocations: 0.6562 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)