Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Binomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.829/0.829, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 186.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 91.36 kB / 0.5124 GB, free: 24.33 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001824/0.001824, allocations: 278.9 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.865e-05/4.868e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5139, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.649, allocations: 109.2 MB / 0.871 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.6494, allocations: 76.58 kB / 0.8711 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004506/0.6539, allocations: 1.33 MB / 0.8724 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.274e-06/0.654, allocations: 0 / 0.8724 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.654, allocations: 4 kB / 0.8724 GB, free: 13.9 MB / 0.5417 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.0004988/0.6545, allocations: 359.6 kB / 0.8728 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.6546, allocations: 15.97 kB / 0.8728 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.6546, allocations: 30.56 kB / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.6547, allocations: 7.906 kB / 0.8728 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.6548, allocations: 175 kB / 0.873 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.6549, allocations: 7.953 kB / 0.873 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.6549, allocations: 0 / 0.873 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.6551, allocations: 49.69 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.6551, allocations: 4 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6551, allocations: 0 / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.6551, allocations: 0 / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.6552, allocations: 31.88 kB / 0.8731 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.6557, allocations: 276.8 kB / 0.8733 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.6559, allocations: 50.56 kB / 0.8734 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.656, allocations: 8.922 kB / 0.8734 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/0.6564, allocations: 409.5 kB / 0.8738 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.6565, allocations: 36.58 kB / 0.8738 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.6565, allocations: 0 / 0.8738 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002011/0.6567, allocations: 49.69 kB / 0.8739 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.6567, allocations: 51.41 kB / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.6569, allocations: 112.7 kB / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.6569, allocations: 25.7 kB / 0.874 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.6569, allocations: 84.14 kB / 0.8741 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.657, allocations: 3.906 kB / 0.8741 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.657, allocations: 4 kB / 0.8741 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6571, allocations: 322.8 kB / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.6572, allocations: 4 kB / 0.8744 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.6572, allocations: 8 kB / 0.8744 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.742e-05/0.6572, allocations: 12.08 kB / 0.8745 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6573, allocations: 4 kB / 0.8745 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.257e-05/0.6574, allocations: 57.58 kB / 0.8745 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6574, allocations: 4 kB / 0.8745 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6574, allocations: 4 kB / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.6574, allocations: 0 / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.6575, allocations: 15.92 kB / 0.8745 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6575, allocations: 0 / 0.8745 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.6576, allocations: 11.98 kB / 0.8746 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.6576, allocations: 7.938 kB / 0.8746 GB, free: 11.4 MB / 0.5417 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,bin.k) * Number of discrete 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 8.929e-05/0.6577, allocations: 112.9 kB / 0.8747 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.6577, allocations: 0 / 0.8747 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.6579, allocations: 65.64 kB / 0.8747 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6579, allocations: 0 / 0.8747 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6579, allocations: 0 / 0.8747 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6579, allocations: 0 / 0.8747 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.6581, allocations: 181.5 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6581, allocations: 4 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-05/0.6582, allocations: 11.98 kB / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.6582, allocations: 4 kB / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6583, allocations: 0 / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6583, allocations: 0 / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6583, allocations: 3.984 kB / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.6584, allocations: 151.4 kB / 0.8751 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.6585, allocations: 81.11 kB / 0.8751 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.6585, allocations: 0 / 0.8751 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.6586, allocations: 11.98 kB / 0.8752 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.6587, allocations: 8 kB / 0.8752 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.6587, allocations: 7.984 kB / 0.8752 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.6587, allocations: 83.28 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6587, allocations: 0 / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002414/0.659, allocations: 27.94 kB / 0.8753 GB, free: 10.56 MB / 0.5417 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 (bin.y,bin.k) * Number of discrete 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.0006099/0.6596, allocations: 0.7045 MB / 0.876 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.6597, allocations: 27.98 kB / 0.876 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6597, allocations: 0 / 0.876 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.6598, allocations: 12 kB / 0.876 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.66, allocations: 4 kB / 0.876 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.6604, allocations: 122.7 kB / 0.8761 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.6607, allocations: 0.6848 MB / 0.8768 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.6607, allocations: 7.984 kB / 0.8768 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.6608, allocations: 11.44 kB / 0.8768 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.6608, allocations: 0 / 0.8768 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.6744, allocations: 1.587 MB / 0.8784 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.6747, allocations: 153.6 kB / 0.8785 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.446, allocations: 4 kB / 0.8785 GB, free: 7.219 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Binomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Binomial.pipe 2>&1)