Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.008495/0.008495, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001651/0.001651, allocations: 196.8 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9266/0.9266, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.91 kB / 0.5852 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4365, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Binomial): time 0.001455/0.438, allocations: 0.5833 MB / 0.6648 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003234/0.4384, allocations: 102.4 kB / 0.6649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.4384, allocations: 0 / 0.6649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.423e-05/0.4384, allocations: 0 / 0.6649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-06/0.4384, allocations: 3.938 kB / 0.6649 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.4388, allocations: 45.36 kB / 0.6649 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4389, allocations: 60.34 kB / 0.665 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.4389, allocations: 5.109 kB / 0.665 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.4389, allocations: 21.64 kB / 0.665 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.439, allocations: 20.91 kB / 0.665 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.439, allocations: 2.594 kB / 0.665 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.4391, allocations: 50.75 kB / 0.6651 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.4392, allocations: 20.19 kB / 0.6651 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.4392, allocations: 30.16 kB / 0.6651 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.4393, allocations: 66.78 kB / 0.6652 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4393, allocations: 0 / 0.6652 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4393, allocations: 5.281 kB / 0.6652 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.4393, allocations: 0 / 0.6652 GB, free: 6.582 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000386/0.4397, allocations: 373 kB / 0.6655 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4398, allocations: 8.719 kB / 0.6655 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.4398, allocations: 41.53 kB / 0.6656 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.4398, allocations: 9.281 kB / 0.6656 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.922e-05/0.4399, allocations: 168 kB / 0.6657 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.4401, allocations: 279 kB / 0.666 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.4401, allocations: 8.406 kB / 0.666 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.4403, allocations: 88.28 kB / 0.6661 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4403, allocations: 1.125 kB / 0.6661 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.4404, allocations: 4 kB / 0.6661 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4404, allocations: 5.406 kB / 0.6661 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.4407, allocations: 133.2 kB / 0.6662 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.4408, allocations: 181.5 kB / 0.6664 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.4411, allocations: 96.11 kB / 0.6665 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.4413, allocations: 49.31 kB / 0.6666 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.4413, allocations: 5.203 kB / 0.6666 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.4413, allocations: 39.78 kB / 0.6666 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4413, allocations: 0 / 0.6666 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004957/0.4418, allocations: 152.1 kB / 0.6667 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.4418, allocations: 53.19 kB / 0.6668 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.465e-05/0.4419, allocations: 89.86 kB / 0.6669 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.4419, allocations: 27.3 kB / 0.6669 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.937e-06/0.4419, allocations: 84.14 kB / 0.667 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.4419, allocations: 35.39 kB / 0.667 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.442, allocations: 30.42 kB / 0.667 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.442, allocations: 312 kB / 0.6673 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.4422, allocations: 35 kB / 0.6674 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4423, allocations: 31.25 kB / 0.6674 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.4426, allocations: 74.22 kB / 0.6675 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4426, allocations: 4 kB / 0.6675 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003109/0.4429, allocations: 120.8 kB / 0.6676 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4429, allocations: 8.906 kB / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.4429, allocations: 1.531 kB / 0.6676 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.4429, allocations: 4 kB / 0.6676 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4431, allocations: 22.14 kB / 0.6676 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4431, allocations: 3.984 kB / 0.6676 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.895e-05/0.4432, allocations: 8.438 kB / 0.6676 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4432, allocations: 7.031 kB / 0.6677 GB, free: 4.238 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.285e-05/0.4432, allocations: 122.2 kB / 0.6678 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.4432, allocations: 5.125 kB / 0.6678 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.4433, allocations: 13.03 kB / 0.6678 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4433, allocations: 1.125 kB / 0.6678 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4433, allocations: 3.938 kB / 0.6678 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4433, allocations: 1.719 kB / 0.6678 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.343e-05/0.4434, allocations: 182.7 kB / 0.668 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4434, allocations: 1.344 kB / 0.668 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.4435, allocations: 25.41 kB / 0.668 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4435, allocations: 11.88 kB / 0.668 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4435, allocations: 5.5 kB / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4435, allocations: 1.531 kB / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4436, allocations: 0 / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.4439, allocations: 142.4 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.4439, allocations: 86.33 kB / 0.6682 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.4439, allocations: 5.188 kB / 0.6682 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.444, allocations: 7.641 kB / 0.6682 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.444, allocations: 12.2 kB / 0.6683 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.4441, allocations: 7.312 kB / 0.6683 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.093e-05/0.4441, allocations: 75.28 kB / 0.6683 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4441, allocations: 0 / 0.6683 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002186/0.4443, allocations: 29.27 kB / 0.6684 GB, free: 3.543 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000536/0.4448, allocations: 0.6945 MB / 0.669 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.4452, allocations: 84.91 kB / 0.6691 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4452, allocations: 0 / 0.6691 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.4453, allocations: 53.86 kB / 0.6692 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.4455, allocations: 5.469 kB / 0.6692 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.4459, allocations: 198.9 kB / 0.6694 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.556e-05/0.446, allocations: 0.6865 MB / 0.67 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.4462, allocations: 39.39 kB / 0.6701 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.4462, allocations: 20.64 kB / 0.6701 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4462, allocations: 1.219 kB / 0.6701 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.4621, allocations: 2.033 MB / 0.6721 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.802, allocations: 3.312 kB / 0.6721 GB, free: 0.8086 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)