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.0007543/0.0007542, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008379/0.0008379, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7467/0.7467, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 12.22 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4277, allocations: 81.57 MB / 0.5831 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Binomial): time 0.001678/0.4294, allocations: 1.24 MB / 0.5844 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004333/0.4299, allocations: 168.5 kB / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.4299, allocations: 0 / 0.5845 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.43, allocations: 6.359 kB / 0.5845 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.43, allocations: 7.938 kB / 0.5845 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.4303, allocations: 42.84 kB / 0.5846 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.315e-05/0.4304, allocations: 32.66 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.4305, allocations: 7.375 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.058e-05/0.4305, allocations: 14.66 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.4305, allocations: 13.73 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4306, allocations: 0.875 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.4307, allocations: 38.28 kB / 0.5847 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.4307, allocations: 18.39 kB / 0.5847 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.4307, allocations: 27.77 kB / 0.5847 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.4308, allocations: 37.67 kB / 0.5848 GB, free: 2.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4308, allocations: 4 kB / 0.5848 GB, free: 2.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4309, allocations: 0 / 0.5848 GB, free: 2.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.4309, allocations: 0 / 0.5848 GB, free: 2.871 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.0003919/0.4313, allocations: 349.1 kB / 0.5851 GB, free: 2.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4313, allocations: 14.06 kB / 0.5851 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.4313, allocations: 36.09 kB / 0.5851 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.4314, allocations: 9.797 kB / 0.5852 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.4315, allocations: 170 kB / 0.5853 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.4315, allocations: 1.719 kB / 0.5853 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.4315, allocations: 14.41 kB / 0.5853 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.4317, allocations: 66.5 kB / 0.5854 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4317, allocations: 0 / 0.5854 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4318, allocations: 10.14 kB / 0.5854 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4318, allocations: 0 / 0.5854 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.432, allocations: 49.59 kB / 0.5854 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.4323, allocations: 289.2 kB / 0.5857 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.4326, allocations: 58.06 kB / 0.5858 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4328, allocations: 30.73 kB / 0.5858 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.4329, allocations: 175.1 kB / 0.586 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.433, allocations: 31.31 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.433, allocations: 1.156 kB / 0.586 GB, free: 1.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003731/0.4333, allocations: 119 kB / 0.5861 GB, free: 1.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4334, allocations: 52.97 kB / 0.5862 GB, free: 1.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.4335, allocations: 115.2 kB / 0.5863 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.4335, allocations: 25.7 kB / 0.5863 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.4335, allocations: 86.97 kB / 0.5864 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.4335, allocations: 5.156 kB / 0.5864 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.4335, allocations: 5.406 kB / 0.5864 GB, free: 1.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.119e-05/0.4336, allocations: 312.8 kB / 0.5867 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.4337, allocations: 25.39 kB / 0.5867 GB, free: 0.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.4338, allocations: 25.27 kB / 0.5867 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.884e-05/0.4339, allocations: 29.62 kB / 0.5868 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4339, allocations: 0 / 0.5868 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000214/0.4341, allocations: 91.42 kB / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4341, allocations: 5.344 kB / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4341, allocations: 4.75 kB / 0.5869 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4342, allocations: 8.859 kB / 0.5869 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.4342, allocations: 13.17 kB / 0.5869 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4343, allocations: 1.469 kB / 0.5869 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.4343, allocations: 12.41 kB / 0.5869 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4343, allocations: 1.656 kB / 0.5869 GB, free: 0.8828 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 5.179e-05/0.4344, allocations: 113.8 kB / 0.587 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.4344, allocations: 3.312 kB / 0.587 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.4347, allocations: 101.3 kB / 0.5871 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4347, allocations: 1.156 kB / 0.5871 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4347, allocations: 3.953 kB / 0.5871 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4347, allocations: 4.75 kB / 0.5871 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.4349, allocations: 169.7 kB / 0.5873 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4349, allocations: 0.9062 kB / 0.5873 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.435, allocations: 13.69 kB / 0.5873 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.435, allocations: 0 / 0.5873 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.435, allocations: 5.25 kB / 0.5873 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.435, allocations: 1.125 kB / 0.5873 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.435, allocations: 0.6094 kB / 0.5873 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.4352, allocations: 187.2 kB / 0.5875 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.4353, allocations: 78.86 kB / 0.5876 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4353, allocations: 1.734 kB / 0.5876 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.4354, allocations: 12.34 kB / 0.5876 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.4354, allocations: 14.17 kB / 0.5876 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.4354, allocations: 1.375 kB / 0.5876 GB, free: 244 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.908e-05/0.4355, allocations: 91.52 kB / 0.5877 GB, free: 160 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4355, allocations: 0 / 0.5877 GB, free: 160 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.4357, allocations: 14.3 kB / 0.5877 GB, free: 160 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.0005826/0.4363, allocations: 0.7272 MB / 0.5884 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.4366, allocations: 67.81 kB / 0.5885 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4366, allocations: 0.8125 kB / 0.5885 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4367, allocations: 25.61 kB / 0.5885 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.437, allocations: 6.703 kB / 0.5885 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.4379, allocations: 471.6 kB / 0.5889 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.4381, allocations: 0.6803 MB / 0.5896 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.46e-05/0.4382, allocations: 3.016 kB / 0.5896 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.4382, allocations: 16.16 kB / 0.5896 GB, free: 14.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4382, allocations: 0 / 0.5896 GB, free: 14.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.45, allocations: 1.602 MB / 0.5912 GB, free: 14.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.4503, allocations: 170.1 kB / 0.5914 GB, free: 13.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.049, allocations: 0 / 0.5914 GB, free: 13.96 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: