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.001443/0.001444, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001689/0.001689, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.385/2.385, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.239/1.239, allocations: 132.3 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006098/0.00061, allocations: 8.562 kB / 0.5033 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7197/0.7203, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.003362/0.7237, allocations: 1.234 MB / 0.5842 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008086/0.7246, allocations: 168.8 kB / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.7247, allocations: 0.6562 kB / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.7248, allocations: 2.5 kB / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.7249, allocations: 8.641 kB / 0.5843 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.7253, allocations: 34.56 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.7255, allocations: 22.92 kB / 0.5844 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.7256, allocations: 11.17 kB / 0.5844 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/0.7257, allocations: 14.42 kB / 0.5844 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.7258, allocations: 13.83 kB / 0.5844 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.7259, allocations: 1.406 kB / 0.5844 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.7261, allocations: 42.66 kB / 0.5845 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.7261, allocations: 6.766 kB / 0.5845 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.7262, allocations: 32.39 kB / 0.5845 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.7264, allocations: 40.5 kB / 0.5846 GB, free: 2.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7265, allocations: 0 / 0.5846 GB, free: 2.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7265, allocations: 0 / 0.5846 GB, free: 2.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.7265, allocations: 0.6875 kB / 0.5846 GB, free: 2.887 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.0007164/0.7272, allocations: 353 kB / 0.5849 GB, free: 2.527 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.008e-05/0.7273, allocations: 9.812 kB / 0.5849 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.7274, allocations: 44.33 kB / 0.5849 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.7274, allocations: 5.938 kB / 0.585 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.7276, allocations: 170.1 kB / 0.5851 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.7276, allocations: 1.938 kB / 0.5851 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.7277, allocations: 1.875 kB / 0.5851 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.728, allocations: 70.75 kB / 0.5852 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.728, allocations: 0 / 0.5852 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.7281, allocations: 13.16 kB / 0.5852 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.7281, allocations: 0.6562 kB / 0.5852 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.7285, allocations: 54.11 kB / 0.5852 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.7291, allocations: 284.1 kB / 0.5855 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/0.7296, allocations: 62 kB / 0.5856 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.73, allocations: 175.4 kB / 0.5857 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.73, allocations: 35.59 kB / 0.5858 GB, free: 1.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.73, allocations: 3.938 kB / 0.5858 GB, free: 1.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007422/0.7308, allocations: 104 kB / 0.5859 GB, free: 1.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.7308, allocations: 60.08 kB / 0.5859 GB, free: 1.531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.731, allocations: 111.1 kB / 0.586 GB, free: 1.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.731, allocations: 26.67 kB / 0.5861 GB, free: 1.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.7311, allocations: 86.33 kB / 0.5862 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.7311, allocations: 10.55 kB / 0.5862 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.7311, allocations: 0 / 0.5862 GB, free: 1.301 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.099e-05/0.7312, allocations: 313.5 kB / 0.5865 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.7314, allocations: 28.81 kB / 0.5865 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.7316, allocations: 26.36 kB / 0.5865 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.7318, allocations: 24.17 kB / 0.5865 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7318, allocations: 5.438 kB / 0.5865 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004314/0.7323, allocations: 86.75 kB / 0.5866 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.7323, allocations: 5.938 kB / 0.5866 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7323, allocations: 0 / 0.5866 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.7323, allocations: 0.5312 kB / 0.5866 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.7325, allocations: 18.05 kB / 0.5866 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.7325, allocations: 8.656 kB / 0.5867 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.7327, allocations: 12.72 kB / 0.5867 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.7327, allocations: 1.844 kB / 0.5867 GB, free: 0.9102 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 (rea2Int.y,bin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.7328, allocations: 108.2 kB / 0.5868 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.7329, allocations: 2.781 kB / 0.5868 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.7334, allocations: 100.8 kB / 0.5869 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7334, allocations: 1.547 kB / 0.5869 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.7335, allocations: 0.7812 kB / 0.5869 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7335, allocations: 7.953 kB / 0.5869 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.7337, allocations: 170.3 kB / 0.587 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7338, allocations: 1.125 kB / 0.587 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.7339, allocations: 17.28 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.7339, allocations: 0.6094 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.734, allocations: 1.969 kB / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.734, allocations: 0 / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.734, allocations: 0 / 0.5871 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/0.7345, allocations: 191.3 kB / 0.5872 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.7345, allocations: 83.72 kB / 0.5873 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.7346, allocations: 0.9062 kB / 0.5873 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.7348, allocations: 8.062 kB / 0.5873 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.7349, allocations: 11.38 kB / 0.5873 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.7349, allocations: 1.766 kB / 0.5873 GB, free: 276 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.724e-05/0.735, allocations: 86.67 kB / 0.5874 GB, free: 196 kB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.735, allocations: 4 kB / 0.5874 GB, free: 192 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005131/0.7355, allocations: 14.84 kB / 0.5875 GB, free: 192 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/0.7366, allocations: 0.7385 MB / 0.5882 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.7371, allocations: 56.5 kB / 0.5882 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7372, allocations: 0 / 0.5882 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.7374, allocations: 33.69 kB / 0.5883 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.7377, allocations: 6.188 kB / 0.5883 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.7396, allocations: 460 kB / 0.5887 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.7402, allocations: 0.6826 MB / 0.5894 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.7403, allocations: 7.547 kB / 0.5894 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.7404, allocations: 11.98 kB / 0.5894 GB, free: 14.41 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7404, allocations: 0 / 0.5894 GB, free: 14.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.7712, allocations: 1.602 MB / 0.591 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003138/0.7715, allocations: 151.6 kB / 0.5911 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.535, allocations: 1.438 kB / 0.5911 GB, free: 14 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/linux/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) Environment - environmentSimulation: