Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Binomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Binomial,fileNamePrefix="IDEAS_dev_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.007757/0.007757, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001947/0.001947, allocations: 198.5 kB / 16.68 MB, free: 5.934 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7845/0.7845, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 70.78 kB / 0.5857 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1587, allocations: 81.02 MB / 0.6649 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003067/0.1619, allocations: 1.537 MB / 0.6664 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004903/0.1624, allocations: 180.3 kB / 0.6665 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.1624, allocations: 0 / 0.6665 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.1625, allocations: 3.938 kB / 0.6665 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.1625, allocations: 7.938 kB / 0.6665 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.1629, allocations: 47.88 kB / 0.6666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.845e-05/0.163, allocations: 31.92 kB / 0.6666 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1631, allocations: 19.98 kB / 0.6666 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.1632, allocations: 15.92 kB / 0.6667 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.1632, allocations: 23.91 kB / 0.6667 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1632, allocations: 4 kB / 0.6667 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1634, allocations: 43.97 kB / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.1634, allocations: 7.984 kB / 0.6667 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.1634, allocations: 19.86 kB / 0.6668 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1636, allocations: 64.06 kB / 0.6668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1636, allocations: 0 / 0.6668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1636, allocations: 0 / 0.6668 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1636, allocations: 0 / 0.6668 GB, free: 3.625 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.0005466/0.1642, allocations: 363.3 kB / 0.6672 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1643, allocations: 9.109 kB / 0.6672 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.1643, allocations: 38.69 kB / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1643, allocations: 8.891 kB / 0.6672 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.1645, allocations: 164.4 kB / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1645, allocations: 384 / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1646, allocations: 8.312 kB / 0.6674 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1648, allocations: 66.22 kB / 0.6674 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1648, allocations: 3.938 kB / 0.6674 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1648, allocations: 0 / 0.6674 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1648, allocations: 3.938 kB / 0.6675 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.165, allocations: 43.95 kB / 0.6675 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.1654, allocations: 288.7 kB / 0.6678 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.1658, allocations: 58.55 kB / 0.6678 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1659, allocations: 28.89 kB / 0.6679 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.1662, allocations: 170.3 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1662, allocations: 34.5 kB / 0.668 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1662, allocations: 0 / 0.668 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000391/0.1666, allocations: 101.8 kB / 0.6681 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1667, allocations: 51.41 kB / 0.6682 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/0.1668, allocations: 109.8 kB / 0.6683 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1668, allocations: 29.7 kB / 0.6683 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.1668, allocations: 84.09 kB / 0.6684 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1669, allocations: 7.953 kB / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1669, allocations: 17.7 kB / 0.6684 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1671, allocations: 326.8 kB / 0.6687 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/0.1672, allocations: 11.98 kB / 0.6688 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.1673, allocations: 23.97 kB / 0.6688 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.1674, allocations: 52.75 kB / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.1674, allocations: 0 / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002246/0.1677, allocations: 77.66 kB / 0.6689 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1677, allocations: 4 kB / 0.6689 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1677, allocations: 0 / 0.6689 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1677, allocations: 0 / 0.6689 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.1678, allocations: 11.98 kB / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1678, allocations: 0 / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.1679, allocations: 7.984 kB / 0.6689 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.1679, allocations: 4 kB / 0.6689 GB, free: 1.188 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.275e-05/0.168, allocations: 117.8 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.168, allocations: 11.89 kB / 0.6691 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.1683, allocations: 85.48 kB / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1683, allocations: 0 / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1683, allocations: 0 / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1683, allocations: 0 / 0.6691 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.1685, allocations: 169.6 kB / 0.6693 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1685, allocations: 0 / 0.6693 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.1686, allocations: 15.98 kB / 0.6693 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1686, allocations: 0 / 0.6693 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1686, allocations: 4 kB / 0.6693 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1687, allocations: 0 / 0.6693 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1687, allocations: 3.984 kB / 0.6693 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.1689, allocations: 171.4 kB / 0.6695 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.169, allocations: 89 kB / 0.6696 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.169, allocations: 0 / 0.6696 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.1691, allocations: 7.984 kB / 0.6696 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.1692, allocations: 11.98 kB / 0.6696 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1692, allocations: 0 / 0.6696 GB, free: 420 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.1692, allocations: 87.28 kB / 0.6697 GB, free: 332 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1692, allocations: 0 / 0.6697 GB, free: 332 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002468/0.1695, allocations: 15.94 kB / 0.6697 GB, free: 316 kB / 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.0007702/0.1703, allocations: 0.7282 MB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.1705, allocations: 51.94 kB / 0.6704 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1705, allocations: 0 / 0.6704 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.1707, allocations: 31.97 kB / 0.6705 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.171, allocations: 0 / 0.6705 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.1725, allocations: 1.295 MB / 0.6717 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1728, allocations: 0.6807 MB / 0.6724 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.1728, allocations: 8 kB / 0.6724 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.1729, allocations: 15.44 kB / 0.6724 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1729, allocations: 0 / 0.6724 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2932/0.4661, allocations: 1.922 MB / 0.6743 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.863, allocations: 6.578 kB / 0.6743 GB, free: 11.51 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Binomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Binomial.pipe 2>&1)