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.005063/0.005063, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001214/0.001214, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9423/0.9423, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4418, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002382/0.4442, allocations: 1.533 MB / 0.6657 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.4446, allocations: 176.7 kB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.4447, allocations: 1.281 kB / 0.6658 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.4447, allocations: 3.938 kB / 0.6658 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.4448, allocations: 7.922 kB / 0.6658 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.4451, allocations: 47.86 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.963e-05/0.4452, allocations: 38.38 kB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.4453, allocations: 18.36 kB / 0.6659 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.4453, allocations: 13.09 kB / 0.666 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.832e-05/0.4454, allocations: 17.48 kB / 0.666 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.4454, allocations: 2.625 kB / 0.666 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.4455, allocations: 51.75 kB / 0.666 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.4455, allocations: 13.45 kB / 0.666 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.4456, allocations: 18.88 kB / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.4457, allocations: 62.84 kB / 0.6661 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4457, allocations: 0 / 0.6661 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4457, allocations: 0 / 0.6661 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4457, allocations: 5.219 kB / 0.6661 GB, free: 5.75 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.0004222/0.4462, allocations: 360.4 kB / 0.6665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4462, allocations: 13.42 kB / 0.6665 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.4463, allocations: 32.28 kB / 0.6665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.4463, allocations: 3.062 kB / 0.6665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.149e-05/0.4464, allocations: 166.9 kB / 0.6667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.4464, allocations: 5.844 kB / 0.6667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.4464, allocations: 1.844 kB / 0.6667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.4466, allocations: 72.36 kB / 0.6667 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4466, allocations: 3.938 kB / 0.6667 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.4466, allocations: 3.938 kB / 0.6668 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4466, allocations: 1.281 kB / 0.6668 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.4468, allocations: 44.67 kB / 0.6668 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.4471, allocations: 273.8 kB / 0.6671 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.4474, allocations: 66.44 kB / 0.6671 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.4475, allocations: 29.08 kB / 0.6671 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.4477, allocations: 165.1 kB / 0.6673 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.4477, allocations: 31.91 kB / 0.6673 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.4477, allocations: 0 / 0.6673 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003997/0.4481, allocations: 102.2 kB / 0.6674 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.978e-05/0.4482, allocations: 52.59 kB / 0.6675 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.4482, allocations: 107.7 kB / 0.6676 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.4483, allocations: 25.7 kB / 0.6676 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.4483, allocations: 89.64 kB / 0.6677 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.4483, allocations: 5.281 kB / 0.6677 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.4483, allocations: 17.47 kB / 0.6677 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.411e-05/0.4484, allocations: 324.2 kB / 0.668 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.4485, allocations: 18.3 kB / 0.668 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.4485, allocations: 23.31 kB / 0.6681 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.4487, allocations: 43.34 kB / 0.6681 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4487, allocations: 0 / 0.6681 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001998/0.4489, allocations: 84.77 kB / 0.6682 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4489, allocations: 4.812 kB / 0.6682 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4489, allocations: 0 / 0.6682 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.449, allocations: 1.594 kB / 0.6682 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.4491, allocations: 14.67 kB / 0.6682 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4491, allocations: 1.344 kB / 0.6682 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.4491, allocations: 11.56 kB / 0.6682 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.4492, allocations: 9.203 kB / 0.6682 GB, free: 3.598 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 5.175e-05/0.4492, allocations: 121.7 kB / 0.6683 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.4492, allocations: 1.469 kB / 0.6683 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.4495, allocations: 84.05 kB / 0.6684 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4495, allocations: 5.5 kB / 0.6684 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4495, allocations: 0 / 0.6684 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4495, allocations: 0 / 0.6684 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.4496, allocations: 164.7 kB / 0.6686 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4496, allocations: 5.406 kB / 0.6686 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.4497, allocations: 15.61 kB / 0.6686 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4497, allocations: 0 / 0.6686 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.4497, allocations: 0 / 0.6686 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4497, allocations: 1.531 kB / 0.6686 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4497, allocations: 0 / 0.6686 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.4499, allocations: 175.8 kB / 0.6688 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.45, allocations: 86.11 kB / 0.6689 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.45, allocations: 1.156 kB / 0.6689 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.4501, allocations: 6.766 kB / 0.6689 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.4501, allocations: 7.594 kB / 0.6689 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.4501, allocations: 5.047 kB / 0.6689 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.4502, allocations: 94.27 kB / 0.669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4502, allocations: 0 / 0.669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002336/0.4504, allocations: 17.66 kB / 0.669 GB, free: 2.824 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.0004253/0.4508, allocations: 0.7289 MB / 0.6697 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.4511, allocations: 42.17 kB / 0.6697 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4511, allocations: 4 kB / 0.6697 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.4512, allocations: 31.12 kB / 0.6698 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.4514, allocations: 6.625 kB / 0.6698 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.4526, allocations: 1.291 MB / 0.671 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.4527, allocations: 0.6792 MB / 0.6717 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.136e-05/0.4528, allocations: 15.23 kB / 0.6717 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.4528, allocations: 14.25 kB / 0.6717 GB, free: 116 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4528, allocations: 1.375 kB / 0.6717 GB, free: 116 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.472, allocations: 1.914 MB / 0.6736 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.922, allocations: 13.09 kB / 0.6736 GB, free: 15.05 MB / 0.5137 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)