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.001054/0.001054, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001195/0.001195, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7887/0.7887, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.66 kB / 0.5014 GB, free: 4.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4186, allocations: 80.19 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002574/0.4212, allocations: 1.6 MB / 0.5812 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000429/0.4217, allocations: 175.9 kB / 0.5814 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.4217, allocations: 0.7812 kB / 0.5814 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.4218, allocations: 4.641 kB / 0.5814 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.4218, allocations: 0.7812 kB / 0.5814 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.4222, allocations: 47.7 kB / 0.5814 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.4223, allocations: 40.19 kB / 0.5815 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.4224, allocations: 20.41 kB / 0.5815 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.4224, allocations: 11.06 kB / 0.5815 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.4224, allocations: 17.55 kB / 0.5815 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.4225, allocations: 3.375 kB / 0.5815 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.4226, allocations: 53.22 kB / 0.5816 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.4226, allocations: 7.062 kB / 0.5816 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.4227, allocations: 12.81 kB / 0.5816 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.4228, allocations: 64.88 kB / 0.5817 GB, free: 3.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4228, allocations: 1.281 kB / 0.5817 GB, free: 3.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4228, allocations: 4 kB / 0.5817 GB, free: 3.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4228, allocations: 3.938 kB / 0.5817 GB, free: 3.191 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.0003761/0.4232, allocations: 352 kB / 0.582 GB, free: 2.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4233, allocations: 10.58 kB / 0.582 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.4233, allocations: 35.55 kB / 0.5821 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.4233, allocations: 7.031 kB / 0.5821 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.555e-05/0.4234, allocations: 168.5 kB / 0.5822 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4234, allocations: 1.562 kB / 0.5822 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.4234, allocations: 7.406 kB / 0.5822 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.4236, allocations: 66.39 kB / 0.5823 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4236, allocations: 3.938 kB / 0.5823 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.4237, allocations: 4 kB / 0.5823 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.4237, allocations: 1.062 kB / 0.5823 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.4238, allocations: 40.42 kB / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.4242, allocations: 285.2 kB / 0.5826 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.4245, allocations: 61.48 kB / 0.5827 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/0.4246, allocations: 26.11 kB / 0.5827 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.4248, allocations: 169.7 kB / 0.5829 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.4248, allocations: 36.41 kB / 0.5829 GB, free: 1.949 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4248, allocations: 0 / 0.5829 GB, free: 1.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003559/0.4251, allocations: 92.42 kB / 0.583 GB, free: 1.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.4252, allocations: 56.75 kB / 0.583 GB, free: 1.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.745e-05/0.4252, allocations: 111.3 kB / 0.5831 GB, free: 1.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.4252, allocations: 25.7 kB / 0.5832 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.4253, allocations: 95.42 kB / 0.5833 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.4253, allocations: 5.75 kB / 0.5833 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.4253, allocations: 18.69 kB / 0.5833 GB, free: 1.586 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.4254, allocations: 322.2 kB / 0.5836 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.213e-05/0.4255, allocations: 20.5 kB / 0.5836 GB, free: 1.262 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.748e-05/0.4256, allocations: 15.7 kB / 0.5836 GB, free: 1.262 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4257, allocations: 54.69 kB / 0.5837 GB, free: 1.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4257, allocations: 0 / 0.5837 GB, free: 1.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002013/0.4259, allocations: 78.47 kB / 0.5838 GB, free: 1.195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.426, allocations: 9.438 kB / 0.5838 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.426, allocations: 0.7969 kB / 0.5838 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.426, allocations: 0 / 0.5838 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.4261, allocations: 11.94 kB / 0.5838 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4261, allocations: 0.6562 kB / 0.5838 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.4261, allocations: 14.58 kB / 0.5838 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.4262, allocations: 1.281 kB / 0.5838 GB, free: 1.184 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.189e-05/0.4262, allocations: 117.5 kB / 0.5839 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4262, allocations: 6.531 kB / 0.5839 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.4265, allocations: 80.38 kB / 0.584 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4265, allocations: 0 / 0.584 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4265, allocations: 5.703 kB / 0.584 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4265, allocations: 0 / 0.584 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.4267, allocations: 169.5 kB / 0.5842 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4267, allocations: 5.094 kB / 0.5842 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.4267, allocations: 11.62 kB / 0.5842 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4267, allocations: 0 / 0.5842 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4268, allocations: 1.5 kB / 0.5842 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4268, allocations: 0.8906 kB / 0.5842 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4268, allocations: 0 / 0.5842 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.427, allocations: 174.3 kB / 0.5843 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.427, allocations: 86.91 kB / 0.5844 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.427, allocations: 1.594 kB / 0.5844 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.4271, allocations: 6.5 kB / 0.5844 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.4272, allocations: 4.438 kB / 0.5844 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.4272, allocations: 1.969 kB / 0.5844 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.789e-05/0.4272, allocations: 90.92 kB / 0.5845 GB, free: 484 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4272, allocations: 0.9375 kB / 0.5845 GB, free: 484 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.4275, allocations: 22.39 kB / 0.5845 GB, free: 476 kB / 430.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.0004983/0.428, allocations: 0.7256 MB / 0.5852 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.4282, allocations: 51.16 kB / 0.5853 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4282, allocations: 0 / 0.5853 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4283, allocations: 28.94 kB / 0.5853 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.4286, allocations: 2.625 kB / 0.5853 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.43, allocations: 1.301 MB / 0.5866 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4302, allocations: 0.6794 MB / 0.5873 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.4e-05/0.4302, allocations: 8.531 kB / 0.5873 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.4303, allocations: 15.92 kB / 0.5873 GB, free: 13.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4303, allocations: 4 kB / 0.5873 GB, free: 13.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.4415, allocations: 1.734 MB / 0.589 GB, free: 13.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.4417, allocations: 180.2 kB / 0.5892 GB, free: 13.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.29, allocations: 7.172 kB / 0.5892 GB, free: 13.31 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)