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.008167/0.008167, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001487/0.001487, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7435/0.7435, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 71.89 kB / 0.5809 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5013, allocations: 80.2 MB / 0.6592 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.002482/0.5038, allocations: 1.53 MB / 0.6607 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004547/0.5043, allocations: 175.8 kB / 0.6609 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.5043, allocations: 0 / 0.6609 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.5044, allocations: 6.125 kB / 0.6609 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.5044, allocations: 3.938 kB / 0.6609 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.5048, allocations: 52.02 kB / 0.6609 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.5049, allocations: 34.8 kB / 0.6609 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.505, allocations: 16.11 kB / 0.661 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.505, allocations: 16.16 kB / 0.661 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.5051, allocations: 22.03 kB / 0.661 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.5051, allocations: 2.688 kB / 0.661 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.5052, allocations: 45.7 kB / 0.661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.5052, allocations: 6.703 kB / 0.6611 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.5053, allocations: 25.94 kB / 0.6611 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.5054, allocations: 65.78 kB / 0.6611 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5054, allocations: 4 kB / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5054, allocations: 0 / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5054, allocations: 1.469 kB / 0.6611 GB, free: 8.488 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.000442/0.5059, allocations: 358.4 kB / 0.6615 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5059, allocations: 11 kB / 0.6615 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.506, allocations: 33.02 kB / 0.6615 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.506, allocations: 2.344 kB / 0.6615 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.126e-05/0.5061, allocations: 171.1 kB / 0.6617 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.5061, allocations: 5.938 kB / 0.6617 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.5061, allocations: 7.344 kB / 0.6617 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5063, allocations: 63.27 kB / 0.6618 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5064, allocations: 3.938 kB / 0.6618 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5064, allocations: 0.5625 kB / 0.6618 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5064, allocations: 5.156 kB / 0.6618 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.5066, allocations: 43.48 kB / 0.6618 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.5069, allocations: 277.1 kB / 0.6621 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.5072, allocations: 61.33 kB / 0.6621 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.5073, allocations: 29.36 kB / 0.6622 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.5075, allocations: 170.8 kB / 0.6623 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.5075, allocations: 39.22 kB / 0.6624 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.5076, allocations: 0 / 0.6624 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003719/0.5079, allocations: 101.9 kB / 0.6625 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.508, allocations: 52.75 kB / 0.6625 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.508, allocations: 107.2 kB / 0.6626 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.5081, allocations: 25.7 kB / 0.6626 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.5081, allocations: 90.91 kB / 0.6627 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.5081, allocations: 9.125 kB / 0.6627 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.5081, allocations: 19.42 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.5082, allocations: 317.4 kB / 0.6631 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.075e-05/0.5083, allocations: 20.66 kB / 0.6631 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.5084, allocations: 21.62 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.5085, allocations: 45.03 kB / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5085, allocations: 0 / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001973/0.5087, allocations: 74.89 kB / 0.6632 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.5088, allocations: 5.25 kB / 0.6632 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5088, allocations: 3.938 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5088, allocations: 1.281 kB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.5089, allocations: 14.7 kB / 0.6632 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.5089, allocations: 4.703 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.509, allocations: 13.98 kB / 0.6633 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.509, allocations: 1.875 kB / 0.6633 GB, free: 6.477 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.854e-05/0.509, allocations: 117.5 kB / 0.6634 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.509, allocations: 2.719 kB / 0.6634 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.5093, allocations: 79.64 kB / 0.6634 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5093, allocations: 5.344 kB / 0.6635 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5093, allocations: 0 / 0.6635 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5093, allocations: 0.7031 kB / 0.6635 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.5095, allocations: 169.8 kB / 0.6636 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5095, allocations: 1.281 kB / 0.6636 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.5095, allocations: 10.27 kB / 0.6636 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.5096, allocations: 6.016 kB / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.5096, allocations: 0 / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5096, allocations: 2.016 kB / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5096, allocations: 0 / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.5098, allocations: 182 kB / 0.6638 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.5098, allocations: 78.91 kB / 0.6639 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.5098, allocations: 1.734 kB / 0.6639 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.5099, allocations: 6.516 kB / 0.6639 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.51, allocations: 12.75 kB / 0.6639 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.51, allocations: 6.062 kB / 0.6639 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.51, allocations: 91.3 kB / 0.664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.51, allocations: 0 / 0.664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002488/0.5103, allocations: 22.7 kB / 0.664 GB, free: 5.746 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.0004558/0.5108, allocations: 0.7217 MB / 0.6647 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.511, allocations: 50.45 kB / 0.6648 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.511, allocations: 0 / 0.6648 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.5111, allocations: 30.09 kB / 0.6648 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.5114, allocations: 7.109 kB / 0.6648 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.5126, allocations: 1.286 MB / 0.6661 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.5127, allocations: 0.6798 MB / 0.6667 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.5128, allocations: 4.812 kB / 0.6667 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.5128, allocations: 20.02 kB / 0.6668 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5128, allocations: 0 / 0.6668 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.5311, allocations: 1.919 MB / 0.6686 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.854, allocations: 2.75 kB / 0.6686 GB, free: 2.137 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)