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.007289/0.007289, allocations: 97.39 kB / 15.73 MB, free: 5.988 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.002289/0.002289, allocations: 188 kB / 16.67 MB, free: 5.918 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7516/0.7516, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 71.89 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3572, allocations: 80.22 MB / 0.6592 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002229/0.3595, allocations: 1.521 MB / 0.6607 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.3599, allocations: 183.8 kB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.3599, allocations: 1.219 kB / 0.6609 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.36, allocations: 4.781 kB / 0.6609 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.36, allocations: 3.938 kB / 0.6609 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.3603, allocations: 52.69 kB / 0.6609 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.3604, allocations: 34.14 kB / 0.661 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.518e-05/0.3605, allocations: 12.72 kB / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.693e-05/0.3605, allocations: 16.92 kB / 0.661 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.3605, allocations: 24.27 kB / 0.661 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3606, allocations: 4 kB / 0.661 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3607, allocations: 46.41 kB / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.3607, allocations: 7.078 kB / 0.6611 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.3607, allocations: 21.31 kB / 0.6611 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3609, allocations: 64.44 kB / 0.6611 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3609, allocations: 0 / 0.6611 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3609, allocations: 1.375 kB / 0.6611 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3609, allocations: 0 / 0.6611 GB, free: 8.543 MB / 0.4981 GB 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.0003599/0.3612, allocations: 366.5 kB / 0.6615 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3613, allocations: 9.625 kB / 0.6615 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.3613, allocations: 40.66 kB / 0.6615 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.338e-05/0.3613, allocations: 8.297 kB / 0.6616 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/0.3614, allocations: 163 kB / 0.6617 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3614, allocations: 9.75 kB / 0.6617 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.3615, allocations: 3.125 kB / 0.6617 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3616, allocations: 61.59 kB / 0.6618 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3617, allocations: 5.312 kB / 0.6618 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3617, allocations: 4 kB / 0.6618 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3617, allocations: 1.375 kB / 0.6618 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.3619, allocations: 47.92 kB / 0.6618 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.3622, allocations: 276.3 kB / 0.6621 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.3625, allocations: 61.33 kB / 0.6622 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.3626, allocations: 26.66 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.3627, allocations: 165.3 kB / 0.6623 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.3627, allocations: 35.78 kB / 0.6624 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.3628, allocations: 3.984 kB / 0.6624 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003559/0.3631, allocations: 97.56 kB / 0.6625 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.3631, allocations: 53.39 kB / 0.6625 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.3632, allocations: 106.7 kB / 0.6626 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.3632, allocations: 26.89 kB / 0.6626 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.3632, allocations: 98 kB / 0.6627 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.3633, allocations: 5.938 kB / 0.6627 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.3633, allocations: 19.02 kB / 0.6628 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.3633, allocations: 322.1 kB / 0.6631 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.3634, allocations: 19.69 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.3635, allocations: 24.89 kB / 0.6631 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3637, allocations: 41.12 kB / 0.6632 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3637, allocations: 1.469 kB / 0.6632 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001992/0.3639, allocations: 77.53 kB / 0.6632 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3639, allocations: 5.938 kB / 0.6632 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3639, allocations: 0 / 0.6632 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3639, allocations: 3.938 kB / 0.6632 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.364, allocations: 12.55 kB / 0.6633 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.364, allocations: 0 / 0.6633 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.3641, allocations: 6.812 kB / 0.6633 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.3641, allocations: 1.969 kB / 0.6633 GB, free: 6.531 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 4.477e-05/0.3641, allocations: 124.2 kB / 0.6634 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3642, allocations: 7.25 kB / 0.6634 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.3644, allocations: 83.12 kB / 0.6635 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3644, allocations: 2.281 kB / 0.6635 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3644, allocations: 0 / 0.6635 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3644, allocations: 0 / 0.6635 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.3645, allocations: 170.4 kB / 0.6636 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3646, allocations: 0 / 0.6636 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.3646, allocations: 15.05 kB / 0.6636 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3646, allocations: 1.344 kB / 0.6636 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3647, allocations: 0.7969 kB / 0.6636 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3647, allocations: 1.25 kB / 0.6636 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3647, allocations: 4 kB / 0.6637 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.3649, allocations: 178 kB / 0.6638 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.3649, allocations: 83.19 kB / 0.6639 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3649, allocations: 6.656 kB / 0.6639 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.365, allocations: 5.781 kB / 0.6639 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.3651, allocations: 9.641 kB / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3651, allocations: 1.656 kB / 0.6639 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.3651, allocations: 87.05 kB / 0.664 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3651, allocations: 0 / 0.664 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002301/0.3653, allocations: 18.23 kB / 0.664 GB, free: 5.797 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.0004205/0.3658, allocations: 0.7263 MB / 0.6647 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.366, allocations: 42.5 kB / 0.6648 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.366, allocations: 3.938 kB / 0.6648 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3661, allocations: 28.89 kB / 0.6648 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.3664, allocations: 8.547 kB / 0.6648 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3674, allocations: 1.29 MB / 0.6661 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.026e-05/0.3675, allocations: 0.679 MB / 0.6667 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.929e-05/0.3676, allocations: 7.828 kB / 0.6667 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.3676, allocations: 17.19 kB / 0.6668 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3676, allocations: 3.938 kB / 0.6668 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1891/0.5568, allocations: 1.913 MB / 0.6686 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.606, allocations: 5.375 kB / 0.6686 GB, free: 2.148 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)