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.000856/0.0008559, allocations: 90.52 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.004824/0.004824, allocations: 171.1 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6921/0.6921, allocations: 132.3 MB / 423.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 16 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3442, allocations: 81.57 MB / 0.5837 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001341/0.3456, allocations: 1.253 MB / 0.585 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004136/0.346, allocations: 176.5 kB / 0.5851 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.105e-05/0.3461, allocations: 1.375 kB / 0.5851 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.3461, allocations: 5.734 kB / 0.5851 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.3461, allocations: 0 / 0.5851 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.3464, allocations: 44.03 kB / 0.5852 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.833e-05/0.3465, allocations: 35.12 kB / 0.5852 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.3465, allocations: 16.58 kB / 0.5852 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.3466, allocations: 6.969 kB / 0.5852 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.3466, allocations: 16.84 kB / 0.5853 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3466, allocations: 2.188 kB / 0.5853 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.3467, allocations: 46.52 kB / 0.5853 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.3468, allocations: 10.97 kB / 0.5853 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.3468, allocations: 39.22 kB / 0.5853 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3469, allocations: 54.72 kB / 0.5854 GB, free: 2.719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3469, allocations: 1.625 kB / 0.5854 GB, free: 2.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3469, allocations: 5.094 kB / 0.5854 GB, free: 2.715 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.347, allocations: 0 / 0.5854 GB, free: 2.715 MB / 430.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.0003849/0.3473, allocations: 357 kB / 0.5857 GB, free: 2.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3474, allocations: 9.469 kB / 0.5858 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.3474, allocations: 37.53 kB / 0.5858 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.3475, allocations: 11.44 kB / 0.5858 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.899e-05/0.3475, allocations: 171.5 kB / 0.586 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3476, allocations: 1.656 kB / 0.586 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3476, allocations: 2.656 kB / 0.586 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3478, allocations: 75.56 kB / 0.586 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3478, allocations: 3.938 kB / 0.586 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3478, allocations: 5.031 kB / 0.5861 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3478, allocations: 5.062 kB / 0.5861 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.348, allocations: 53.55 kB / 0.5861 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.3484, allocations: 280.4 kB / 0.5864 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.3487, allocations: 71.47 kB / 0.5864 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.3488, allocations: 30.61 kB / 0.5865 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.349, allocations: 171.3 kB / 0.5866 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.349, allocations: 30.56 kB / 0.5867 GB, free: 1.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.349, allocations: 0.75 kB / 0.5867 GB, free: 1.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004012/0.3494, allocations: 112.1 kB / 0.5868 GB, free: 1.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.3495, allocations: 52.8 kB / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.3495, allocations: 110.8 kB / 0.5869 GB, free: 1.242 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.3496, allocations: 30.73 kB / 0.587 GB, free: 1.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.3496, allocations: 82.44 kB / 0.587 GB, free: 1.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.3496, allocations: 6.641 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.3496, allocations: 15.45 kB / 0.5871 GB, free: 1.102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.3497, allocations: 325.1 kB / 0.5874 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.3498, allocations: 25.22 kB / 0.5874 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/0.3499, allocations: 25.97 kB / 0.5874 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3501, allocations: 59.77 kB / 0.5875 GB, free: 0.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3501, allocations: 0 / 0.5875 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002277/0.3503, allocations: 87.27 kB / 0.5876 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3503, allocations: 5.891 kB / 0.5876 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3503, allocations: 3.938 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3504, allocations: 0.7188 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.3504, allocations: 14.94 kB / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3505, allocations: 0 / 0.5876 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.3505, allocations: 16.72 kB / 0.5876 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3505, allocations: 0.8438 kB / 0.5876 GB, free: 0.6953 MB / 430.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 5.98e-05/0.3506, allocations: 119.1 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.3506, allocations: 2.875 kB / 0.5877 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3509, allocations: 97.31 kB / 0.5878 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3509, allocations: 5 kB / 0.5878 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3509, allocations: 0 / 0.5878 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3509, allocations: 1.422 kB / 0.5878 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.351, allocations: 173.2 kB / 0.588 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3511, allocations: 0.8125 kB / 0.588 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.662e-05/0.3511, allocations: 17.38 kB / 0.588 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3511, allocations: 0 / 0.588 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3512, allocations: 5.422 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3512, allocations: 0.6562 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3512, allocations: 1.719 kB / 0.588 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3514, allocations: 182.8 kB / 0.5882 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.3514, allocations: 83.67 kB / 0.5883 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3515, allocations: 0.6875 kB / 0.5883 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.3515, allocations: 13.2 kB / 0.5883 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.3516, allocations: 9.844 kB / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3516, allocations: 5.125 kB / 0.5883 GB, free: 48 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.04e-05/0.3517, allocations: 85 kB / 0.5884 GB, free: 15.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3517, allocations: 0 / 0.5884 GB, free: 15.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000235/0.3519, allocations: 25.75 kB / 0.5884 GB, free: 15.96 MB / 446.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.0005785/0.3525, allocations: 0.7357 MB / 0.5891 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.3528, allocations: 54.78 kB / 0.5892 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3528, allocations: 0.7188 kB / 0.5892 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3529, allocations: 33.83 kB / 0.5892 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.3531, allocations: 10.77 kB / 0.5892 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3545, allocations: 1.317 MB / 0.5905 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3547, allocations: 0.684 MB / 0.5912 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.191e-05/0.3548, allocations: 3.641 kB / 0.5912 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.3548, allocations: 16.06 kB / 0.5912 GB, free: 13.34 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3548, allocations: 4 kB / 0.5912 GB, free: 13.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2179/0.5727, allocations: 1.616 MB / 0.5928 GB, free: 13.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.573, allocations: 181.9 kB / 0.5929 GB, free: 12.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.2, allocations: 0 / 0.5929 GB, free: 12.91 MB / 446.1 MB (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)