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.005253/0.005253, allocations: 101.8 kB / 15.73 MB, free: 5.516 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.00123/0.00123, allocations: 201.9 kB / 16.68 MB, free: 5.445 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7899/0.7899, allocations: 132.2 MB / 422.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 76.47 kB / 0.5809 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2073, allocations: 80.2 MB / 0.6592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003723/0.211, allocations: 1.519 MB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006612/0.2117, allocations: 192.1 kB / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.2118, allocations: 0 / 0.6609 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.2118, allocations: 7.938 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.2119, allocations: 3.938 kB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.2124, allocations: 51.88 kB / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.2125, allocations: 27.92 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2126, allocations: 19.98 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.2127, allocations: 19.92 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.2128, allocations: 19.91 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.2128, allocations: 4 kB / 0.661 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.213, allocations: 43.97 kB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.213, allocations: 7.984 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.2131, allocations: 19.86 kB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.2133, allocations: 72.06 kB / 0.6611 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2133, allocations: 0 / 0.6611 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2133, allocations: 0 / 0.6611 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2133, allocations: 0 / 0.6611 GB, free: 11.93 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.0006631/0.214, allocations: 359.3 kB / 0.6615 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2141, allocations: 8.031 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.642e-05/0.2141, allocations: 38.75 kB / 0.6615 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.2142, allocations: 4.891 kB / 0.6615 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2144, allocations: 168.3 kB / 0.6617 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.2144, allocations: 4.375 kB / 0.6617 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.2144, allocations: 8.359 kB / 0.6617 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.2147, allocations: 66.16 kB / 0.6618 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2148, allocations: 7.938 kB / 0.6618 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2148, allocations: 0 / 0.6618 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.2148, allocations: 4 kB / 0.6618 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.2151, allocations: 43.95 kB / 0.6618 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.2156, allocations: 284.7 kB / 0.6621 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.2162, allocations: 58.55 kB / 0.6622 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.2163, allocations: 28.89 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.2166, allocations: 166.2 kB / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.2167, allocations: 34.56 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.2167, allocations: 0 / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005974/0.2173, allocations: 97.56 kB / 0.6625 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.2174, allocations: 51.41 kB / 0.6625 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.2175, allocations: 117.9 kB / 0.6626 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2175, allocations: 29.64 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2176, allocations: 84.09 kB / 0.6627 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.2176, allocations: 11.95 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.2177, allocations: 17.7 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2178, allocations: 322.8 kB / 0.6631 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2179, allocations: 15.98 kB / 0.6631 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.2181, allocations: 20.16 kB / 0.6631 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.2183, allocations: 52.89 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.2184, allocations: 0 / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003306/0.2187, allocations: 81.59 kB / 0.6632 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2187, allocations: 4 kB / 0.6632 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2187, allocations: 0 / 0.6632 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2188, allocations: 0 / 0.6632 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2189, allocations: 11.98 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2189, allocations: 0 / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.219, allocations: 7.984 kB / 0.6633 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.219, allocations: 4 kB / 0.6633 GB, free: 9.488 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 0.0001009/0.2191, allocations: 118.4 kB / 0.6634 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.2192, allocations: 7.953 kB / 0.6634 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.2196, allocations: 81.48 kB / 0.6635 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2196, allocations: 3.938 kB / 0.6635 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2196, allocations: 0 / 0.6635 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2196, allocations: 4 kB / 0.6635 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.2199, allocations: 165.6 kB / 0.6636 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2199, allocations: 4 kB / 0.6636 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.22, allocations: 11.98 kB / 0.6636 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.22, allocations: 4 kB / 0.6636 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.22, allocations: 3.984 kB / 0.6637 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.22, allocations: 4 kB / 0.6637 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.22, allocations: 0 / 0.6637 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.2204, allocations: 171.4 kB / 0.6638 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.2205, allocations: 85.06 kB / 0.6639 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.2205, allocations: 7.984 kB / 0.6639 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.2207, allocations: 8 kB / 0.6639 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.2208, allocations: 3.984 kB / 0.6639 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.2208, allocations: 4 kB / 0.6639 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.668e-05/0.2208, allocations: 83.28 kB / 0.664 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2209, allocations: 0 / 0.664 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004366/0.2213, allocations: 23.92 kB / 0.664 GB, free: 8.598 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.0008603/0.2222, allocations: 0.7124 MB / 0.6647 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.2226, allocations: 56.02 kB / 0.6648 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2226, allocations: 0 / 0.6648 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.2228, allocations: 32.06 kB / 0.6648 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.2233, allocations: 2.125 kB / 0.6648 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.2257, allocations: 1.298 MB / 0.6661 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.2261, allocations: 0.6845 MB / 0.6667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.617e-05/0.2262, allocations: 8 kB / 0.6668 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.2262, allocations: 15.44 kB / 0.6668 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.2262, allocations: 0 / 0.6668 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.2521, allocations: 1.901 MB / 0.6686 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.779, allocations: 5.25 kB / 0.6686 GB, free: 3.844 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.Binomial_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 IDEAS_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)