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.007195/0.007195, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001123/0.001123, allocations: 198.5 kB / 16.68 MB, free: 5.926 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8627/0.8627, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 68.77 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1559, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003378/0.1593, allocations: 1.522 MB / 0.6607 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005489/0.1599, allocations: 192.1 kB / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.16, allocations: 0 / 0.6609 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.16, allocations: 3.938 kB / 0.6609 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/0.1601, allocations: 0 / 0.6609 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1605, allocations: 59.81 kB / 0.6609 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.1606, allocations: 31.92 kB / 0.661 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1608, allocations: 15.98 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.1608, allocations: 11.94 kB / 0.661 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.1609, allocations: 23.91 kB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1609, allocations: 4 kB / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.161, allocations: 43.95 kB / 0.661 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.1611, allocations: 8 kB / 0.6611 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.1611, allocations: 27.86 kB / 0.6611 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1613, allocations: 63.83 kB / 0.6611 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1613, allocations: 0 / 0.6611 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1613, allocations: 0 / 0.6611 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.1613, allocations: 0 / 0.6611 GB, free: 8.707 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.0005119/0.1618, allocations: 354.3 kB / 0.6615 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1619, allocations: 12.03 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.1619, allocations: 34.73 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.162, allocations: 4.938 kB / 0.6615 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1621, allocations: 169.1 kB / 0.6617 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.1621, allocations: 4.375 kB / 0.6617 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.1622, allocations: 12.25 kB / 0.6617 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.1624, allocations: 62.22 kB / 0.6618 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1624, allocations: 3.938 kB / 0.6618 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1624, allocations: 4 kB / 0.6618 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1624, allocations: 0 / 0.6618 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1626, allocations: 47.95 kB / 0.6618 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.163, allocations: 276.7 kB / 0.6621 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.1634, allocations: 58.53 kB / 0.6621 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.1635, allocations: 24.91 kB / 0.6622 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.1637, allocations: 174.2 kB / 0.6623 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1637, allocations: 30.56 kB / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.1638, allocations: 0 / 0.6624 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004052/0.1642, allocations: 97.48 kB / 0.6625 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1642, allocations: 63.33 kB / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.1643, allocations: 101.9 kB / 0.6626 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1643, allocations: 29.7 kB / 0.6626 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.1644, allocations: 92.12 kB / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1644, allocations: 7.969 kB / 0.6627 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1645, allocations: 17.72 kB / 0.6627 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1646, allocations: 318.8 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.1647, allocations: 19.98 kB / 0.6631 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1649, allocations: 19.98 kB / 0.6631 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.165, allocations: 53.08 kB / 0.6631 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.165, allocations: 0 / 0.6631 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002247/0.1653, allocations: 85.48 kB / 0.6632 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1653, allocations: 4 kB / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1653, allocations: 0 / 0.6632 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1653, allocations: 4 kB / 0.6632 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.1654, allocations: 11.98 kB / 0.6632 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1654, allocations: 4.312 kB / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.1655, allocations: 4 kB / 0.6632 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.1655, allocations: 0 / 0.6632 GB, free: 6.277 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 9.456e-05/0.1656, allocations: 118.6 kB / 0.6634 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.1656, allocations: 4 kB / 0.6634 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.1659, allocations: 93.42 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1659, allocations: 4 kB / 0.6635 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1659, allocations: 0 / 0.6635 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.166, allocations: 0 / 0.6635 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1661, allocations: 165.6 kB / 0.6636 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1661, allocations: 0 / 0.6636 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.1662, allocations: 11.98 kB / 0.6636 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1662, allocations: 0 / 0.6636 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1663, allocations: 0 / 0.6636 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1663, allocations: 0 / 0.6636 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1663, allocations: 0 / 0.6636 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1665, allocations: 183.3 kB / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.1666, allocations: 85.05 kB / 0.6639 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1666, allocations: 0 / 0.6639 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.1667, allocations: 7.984 kB / 0.6639 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.1668, allocations: 7.938 kB / 0.6639 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1668, allocations: 4 kB / 0.6639 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.1668, allocations: 95.25 kB / 0.664 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1668, allocations: 0 / 0.664 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002576/0.1671, allocations: 16 kB / 0.664 GB, free: 5.387 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.0006413/0.1678, allocations: 0.7318 MB / 0.6647 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.168, allocations: 43.89 kB / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.168, allocations: 0 / 0.6648 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.1681, allocations: 24.27 kB / 0.6648 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1685, allocations: 11.98 kB / 0.6648 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1699, allocations: 1.295 MB / 0.6661 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1701, allocations: 0.6845 MB / 0.6667 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.1702, allocations: 8.125 kB / 0.6667 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.1702, allocations: 19.42 kB / 0.6668 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.1702, allocations: 0 / 0.6668 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.1918, allocations: 1.929 MB / 0.6686 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.411/7.603, allocations: 13.09 kB / 0.6687 GB, free: 0.582 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)